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 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 Throwable> The visitor interface for the implementation of the "visitor" pattern.ClassFile.StackMapTableAttribute.StackMapFrameVisitor<T> ClassFile.StackMapTableAttribute.VerificationTypeInfo Representation of theverification_type_infounion; see JVMS8 4.7.4.Traverser<EX extends Throwable> Implementations of this interface promise to traverses the subnodes of an AST. -
Class Summary Class Description AbstractTraverser<EX extends Throwable> A basic implementation ofTraverser; eachtraverse*(s)method invokes thetraverse*()methods of all Java elements subordinate tox.AutoIndentWriter AFilterWriterthat automatically indents lines by looking at trailing opening braces ('{') and leading closing braces ('}').ClassFile An object that implements the Java "class file" format.ClassFile.Annotation The structure of theannotationsarray as described in JVMS8 4.7.16.ClassFile.AnnotationDefaultAttribute Representation of anAnnotationDefaultattribute (see JVMS8 4.7.22).ClassFile.AnnotationsAttribute Representation of aRuntime[In]visibleAnnotationsattribute (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 unmodifiableCodeattribute, as read from a class file.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 aConstantValueattribute (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 aDeprecatedattribute (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 anExceptionsattribute (see JVMS 4.7.4).ClassFile.FloatElementValue ClassFile.InnerClassesAttribute Representation of anInnerClassesattribute (see JVMS 4.7.5).ClassFile.InnerClassesAttribute.Entry The structure of theclassesarray as described in JVMS7 4.7.6.ClassFile.IntElementValue ClassFile.LineNumberTableAttribute Representation of aLineNumberTableattribute (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 aLocalVariableTableattribute (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.SourceFileAttribute Representation of aSourceFileattribute (see JVMS 4.7.7).ClassFile.StackMapTableAttribute Representation of an unmodifiableStackMapTableattribute, as read from a class file.ClassFile.StackMapTableAttribute.AppendFrame Representation of theappend_framestructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.ChopFrame Representation of thechop_framestructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.FullFrame Representation of thefull_framestructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.ObjectVariableInfo Representation of theobject_variable_infostructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameFrame Representation of thesame_framestructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameFrameExtended Representation of thesame_frame_extendedstructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameLocals1StackItemFrame Representation of thesame_locals_1_stack_item_framestructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.SameLocals1StackItemFrameExtended Representation of thesame_locals_1_stack_item_frame_extendedstructure; see JVMS8 4.7.4.ClassFile.StackMapTableAttribute.StackMapFrame Representation of an entry in theClassFile.StackMapTableAttribute.ClassFile.StackMapTableAttribute.UninitializedVariableInfo Representation of theuninitialized_variable_infostructure; see JVMS8 4.7.4.ClassFile.StringElementValue ClassFile.SyntheticAttribute Representation of aSyntheticattribute (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.