Package org.codehaus.janino.util
Interface ClassFile.ElementValue.Visitor<R,EX extends java.lang.Throwable>
-
- Type Parameters:
R
- The type of the object that the "visit*()
" methods returnEX
- The type of the exception that the "visit*()
" methods may throw
- All Superinterfaces:
ClassFile.ConstantElementValue.Visitor<R,EX>
- Enclosing interface:
- ClassFile.ElementValue
public static interface ClassFile.ElementValue.Visitor<R,EX extends java.lang.Throwable> extends ClassFile.ConstantElementValue.Visitor<R,EX>
The visitor interface for the implementation of the "visitor" pattern.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
visitAnnotation(ClassFile.Annotation subject)
R
visitArrayElementValue(ClassFile.ArrayElementValue subject)
R
visitEnumConstValue(ClassFile.EnumConstValue subject)
-
Methods inherited from interface org.codehaus.janino.util.ClassFile.ConstantElementValue.Visitor
visitBooleanElementValue, visitByteElementValue, visitCharElementValue, visitClassElementValue, visitDoubleElementValue, visitFloatElementValue, visitIntElementValue, visitLongElementValue, visitShortElementValue, visitStringElementValue
-
-
-
-
Method Detail
-
visitAnnotation
R visitAnnotation(ClassFile.Annotation subject) throws EX extends java.lang.Throwable
- Throws:
EX extends java.lang.Throwable
-
visitArrayElementValue
R visitArrayElementValue(ClassFile.ArrayElementValue subject) throws EX extends java.lang.Throwable
- Throws:
EX extends java.lang.Throwable
-
visitEnumConstValue
R visitEnumConstValue(ClassFile.EnumConstValue subject) throws EX extends java.lang.Throwable
- Throws:
EX extends java.lang.Throwable
-
-