Package org.codehaus.janino.util
Class ClassFile.ClassElementValue
java.lang.Object
org.codehaus.janino.util.ClassFile.ConstantElementValue
org.codehaus.janino.util.ClassFile.ClassElementValue
- All Implemented Interfaces:
ClassFile.ElementValue
- Enclosing class:
- ClassFile
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.janino.util.ClassFile.ConstantElementValue
ClassFile.ConstantElementValue.Visitor<R,
EX extends Throwable> -
Field Summary
Fields inherited from class org.codehaus.janino.util.ClassFile.ConstantElementValue
constantValueIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <R,
EX extends Throwable>
Raccept
(ClassFile.ConstantElementValue.Visitor<R, EX> visitor) Invokes the respective method of theClassFile.ConstantElementValue.Visitor
.Methods inherited from class org.codehaus.janino.util.ClassFile.ConstantElementValue
accept, getTag, store
-
Constructor Details
-
ClassElementValue
public ClassElementValue(short constantValueIndex) - Parameters:
constantValueIndex
- Index of a constant pool entry that is a CONSTANT_Utf8_info structure representing a return descriptor
-
-
Method Details
-
accept
protected <R,EX extends Throwable> R accept(ClassFile.ConstantElementValue.Visitor<R, EX> visitor) throws EXDescription copied from class:ClassFile.ConstantElementValue
Invokes the respective method of theClassFile.ConstantElementValue.Visitor
.- Specified by:
accept
in classClassFile.ConstantElementValue
- Throws:
EX extends Throwable
-