Package org.codehaus.janino.util
Application-independent helper classes.
-
Interface Summary Interface Description Annotatable An object in a Java class file which can have annotations (classes, methods and fields).ClassFile.ConstantElementValue.Visitor<R,EX extends java.lang.Throwable> The visitor interface for the implementation of the "visitor" pattern.ClassFile.ElementValue Representation of the "element_value" structure (see JVMS8 4.7.16.1).ClassFile.ElementValue.Visitor<R,EX extends java.lang.Throwable> The visitor interface for the implementation of the "visitor" pattern.ClassFile.StackMapTableAttribute.StackMapFrameVisitor<T> ClassFile.StackMapTableAttribute.VerificationTypeInfo Representation of theverification_type_info
union; see JVMS8 4.7.4.Traverser<EX extends java.lang.Throwable> Implementations of this interface promise to traverses the subnodes of an AST. -
Class Summary Class Description AbstractTraverser<EX extends java.lang.Throwable> A basic implementation ofTraverser
; eachtraverse*(s)
method invokes thetraverse*()
methods of all Java elements subordinate tox
.AutoIndentWriter AFilterWriter
that indents lines by processing some control characters in the character stream.ClassFile An object that implements the Java "class file" format.ClassFile.Annotation The structure of theannotations
array as described in JVMS8 4.7.16.ClassFile.AnnotationDefaultAttribute Representation of anAnnotationDefault
attribute (see JVMS8 4.7.22).ClassFile.AnnotationsAttribute Representation of aRuntime[In]visibleAnnotations
attribute (see JVMS8 4.7.16/17).ClassFile.ArrayElementValue Representation of the "array_value" structure.ClassFile.AttributeInfo Representation of a class file attribute (see JVMS7 4.7).ClassFile.BooleanElementValue ClassFile.ByteElementValue ClassFile.CharElementValue ClassFile.ClassElementValue ClassFile.CodeAttribute Representation of an unmodifiableCode
attribute, as read from a class file.ClassFile.CodeAttribute.ExceptionTableEntry Representation of an entry in the "exception_table" of a "Code" attribute (see JVMS 4.7.3).ClassFile.ConstantClassInfo See JVMS7 4.4.1.ClassFile.ConstantElementValue Convenience class for element values that are constants (as opposed to annotations, enum constants and arrays).ClassFile.ConstantFieldrefInfo See JVMS7 4.4.2.ClassFile.ConstantInterfaceMethodrefInfo See JVMS7 4.4.2.ClassFile.ConstantInvokeDynamicInfo See JVMS7 4.4.10.ClassFile.ConstantMethodHandleInfo See JVMS7 4.4.8.ClassFile.ConstantMethodrefInfo See JVMS7 4.4.2.ClassFile.ConstantMethodTypeInfo See JVMS7 4.4.9.ClassFile.ConstantNameAndTypeInfo See JVMS7 4.4.6.ClassFile.ConstantPoolInfo Base for various the constant pool table entry types.ClassFile.ConstantUtf8Info See JVMS7 4.4.7.ClassFile.ConstantValueAttribute Representation of aConstantValue
attribute (see JVMS 4.7.2).ClassFile.ConstantValuePoolInfo Intermediate base class for constant pool table entry types that have 'value' semantics: Double, Float, Integer, Long, StringClassFile.DeprecatedAttribute Representation of aDeprecated
attribute (see JVMS 4.7.10).ClassFile.DoubleElementValue ClassFile.EnumConstValue Representation of the "enum_const_value" element in the "element_value" structure.ClassFile.ExceptionsAttribute Representation of anExceptions
attribute (see JVMS 4.7.4).ClassFile.FloatElementValue ClassFile.InnerClassesAttribute Representation of anInnerClasses
attribute (see JVMS 4.7.5).ClassFile.InnerClassesAttribute.Entry The structure of theclasses
array as described in JVMS7 4.7.6.ClassFile.IntElementValue ClassFile.LineNumberTableAttribute Representation of aLineNumberTable
attribute (see JVMS 4.7.8).ClassFile.LineNumberTableAttribute.Entry The structure of the entries in theline_number_table
, as described in JVMS7 4.7.12.ClassFile.LocalVariableTableAttribute Representation of aLocalVariableTable
attribute (see JVMS 4.7.9).ClassFile.LocalVariableTableAttribute.Entry The structure of the entries in thelocal_variable_table
, as described in JVMS7 4.7.13.ClassFile.LongElementValue ClassFile.ShortElementValue ClassFile.SignatureAttribute Representation of aSignature
attribute (see JVMS 4.7.9).ClassFile.SourceFileAttribute Representation of aSourceFile
attribute (see JVMS 4.7.7).ClassFile.StackMapTableAttribute Representation of an unmodifiableStackMapTable
attribute, as read from a class file.ClassFile.StackMapTableAttribute.AppendFrame Representation of theappend_frame
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.ChopFrame Representation of thechop_frame
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.FullFrame Representation of thefull_frame
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.ObjectVariableInfo Representation of theobject_variable_info
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameFrame Representation of thesame_frame
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameFrameExtended Representation of thesame_frame_extended
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameLocals1StackItemFrame Representation of thesame_locals_1_stack_item_frame
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameLocals1StackItemFrameExtended Representation of thesame_locals_1_stack_item_frame_extended
structure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.StackMapFrame Representation of an entry in theClassFile.StackMapTableAttribute
.ClassFile.StackMapTableAttribute.UninitializedVariableInfo Representation of theuninitialized_variable_info
structure; see JVMS8 4.7.4.ClassFile.StringElementValue ClassFile.SyntheticAttribute Representation of aSynthetic
attribute (see JVMS 4.7.6).DeepCopier Creates deep copies of AST elements. -
Exception Summary Exception Description ClassFile.ClassFileException Unchecked exception that represents an error condition that could occur during processing of class files, e.g.