Package | Description |
---|---|
org.macroing.cel4j.java.binary.classfile |
Provides classes and interfaces that models a ClassFile structure (including substructures).
|
org.macroing.cel4j.java.binary.classfile.attributeinfo |
Provides classes and interfaces that models various attribute_info structures.
|
org.macroing.cel4j.java.binary.classfile.cpinfo |
Provides classes and interfaces that models various cp_info structures.
|
org.macroing.cel4j.java.binary.classfile.string |
Provides classes and interfaces that models various
String representations, such as descriptors and signatures. |
org.macroing.cel4j.java.binary.node |
Provides classes and interfaces to represent nodes in graph structures and ways to filter, traverse and transform them.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeInfo
An
AttributeInfo denotes an attribute_info structure somewhere in a ClassFile structure. |
class |
ClassFile
A
ClassFile denotes a ClassFile structure. |
class |
ConstantUnreachableInfo
A
ConstantUnreachableInfo denotes a custom CONSTANT_Unreachable_info structure. |
class |
CPInfo
A
CPInfo denotes a cp_info structure somewhere in a ClassFile structure. |
class |
FieldInfo
A
FieldInfo denotes a field_info structure somewhere in a ClassFile structure. |
class |
MethodInfo
A
MethodInfo denotes a method_info structure somewhere in a ClassFile structure. |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractClassFileHierarchicalVisitor.visitEnter(Node node)
Called by a concrete
Node implementation. |
boolean |
AbstractClassFileHierarchicalVisitor.visitLeave(Node node)
Called by a concrete
Node implementation. |
Modifier and Type | Interface and Description |
---|---|
static interface |
Annotations.Union |
static interface |
StackMapTableAttribute.StackMapFrame |
static interface |
StackMapTableAttribute.VerificationTypeInfo |
Modifier and Type | Class and Description |
---|---|
static class |
Annotations.Annotation |
static class |
Annotations.AnnotationValueUnion |
static class |
Annotations.ArrayValueUnion |
static class |
Annotations.ClassInfoIndexUnion |
static class |
Annotations.ConstValueIndexUnion |
static class |
Annotations.ElementValue |
static class |
Annotations.ElementValuePair |
static class |
Annotations.EnumConstValueUnion |
static class |
Annotations.ParameterAnnotation |
class |
CodeAttribute
A
CodeAttribute denotes a Code_attribute structure somewhere in a ClassFile structure. |
static class |
CodeAttribute.ExceptionHandler
An
ExceptionHandler that can be found as a part of any CodeAttribute instances. |
static class |
CodeAttribute.Instruction
An
Instruction that can be found as a part of any CodeAttribute instances. |
class |
ConstantValueAttribute
A
ConstantValueAttribute denotes a ConstantValue_attribute structure somewhere in a ClassFile structure. |
class |
DeprecatedAttribute
A
DeprecatedAttribute denotes a Deprecated_attribute structure somewhere in a ClassFile structure. |
class |
EnclosingMethodAttribute
An
EnclosingMethodAttribute denotes an EnclosingMethod_attribute structure somewhere in a ClassFile structure. |
class |
ExceptionsAttribute
An
ExceptionsAttribute denotes an Exceptions_attribute structure somewhere in a ClassFile structure. |
class |
InnerClassesAttribute
An
InnerClassesAttribute denotes an InnerClasses_attribute structure somewhere in a ClassFile structure. |
static class |
InnerClassesAttribute.InnerClass
An
InnerClass that can be found as a part of any InnerClassesAttribute instances. |
class |
LineNumberTableAttribute
A
LineNumberTableAttribute denotes a LineNumberTable_attribute structure somewhere in a ClassFile structure. |
static class |
LineNumberTableAttribute.LineNumber
A
LineNumber denotes a line_number structure somewhere in a LineNumberTable_attribute structure. |
class |
LocalVariableTableAttribute
A
LocalVariableTableAttribute denotes a LocalVariableTable_attribute structure somewhere in a ClassFile structure. |
static class |
LocalVariableTableAttribute.LocalVariable
A
LocalVariable denotes a local_variable structure somewhere in a LocalVariableTable_attribute structure. |
class |
LocalVariableTypeTableAttribute
A
LocalVariableTypeTableAttribute denotes a LocalVariableTypeTable_attribute structure somewhere in a ClassFile structure. |
static class |
LocalVariableTypeTableAttribute.LocalVariableType
A
LocalVariableType denotes a local_variable_type structure somewhere in a LocalVariableTypeTable_attribute structure. |
class |
MethodParametersAttribute
A
MethodParametersAttribute denotes a MethodParameters_attribute structure somewhere in a ClassFile structure. |
static class |
MethodParametersAttribute.Parameter
A
Parameter that can be found as a part of any MethodParametersAttribute instances. |
class |
RuntimeInvisibleAnnotationsAttribute
A
RuntimeInvisibleAnnotationsAttribute denotes a RuntimeInvisibleAnnotations_attribute structure somewhere in a ClassFile structure. |
class |
RuntimeInvisibleParameterAnnotationsAttribute
A
RuntimeInvisibleParameterAnnotationsAttribute denotes a RuntimeInvisibleParameterAnnotations_attribute structure somewhere in a ClassFile structure. |
class |
RuntimeVisibleAnnotationsAttribute
A
RuntimeVisibleAnnotationsAttribute denotes a RuntimeVisibleAnnotations_attribute structure somewhere in a ClassFile structure. |
class |
RuntimeVisibleParameterAnnotationsAttribute
A
RuntimeVisibleParameterAnnotationsAttribute denotes a RuntimeVisibleParameterAnnotations_attribute structure somewhere in a ClassFile structure. |
class |
SignatureAttribute
A
SyntheticAttribute denotes a Synthetic_attribute structure somewhere in a ClassFile structure. |
class |
SourceDebugExtensionAttribute
A
SourceDebugExtensionAttribute denotes a SourceDebugExtension_attribute structure somewhere in a ClassFile structure. |
class |
SourceFileAttribute
A
SourceFileAttribute denotes a SourceFile_attribute structure somewhere in a ClassFile structure. |
class |
StackMapTableAttribute
A
StackMapTableAttribute denotes a StackMapTable_attribute structure somewhere in a ClassFile structure. |
static class |
StackMapTableAttribute.AppendFrame |
static class |
StackMapTableAttribute.ChopFrame |
static class |
StackMapTableAttribute.DoubleVariableInfo |
static class |
StackMapTableAttribute.FloatVariableInfo |
static class |
StackMapTableAttribute.FullFrame |
static class |
StackMapTableAttribute.IntegerVariableInfo |
static class |
StackMapTableAttribute.LongVariableInfo |
static class |
StackMapTableAttribute.NullVariableInfo |
static class |
StackMapTableAttribute.ObjectVariableInfo |
static class |
StackMapTableAttribute.SameFrame |
static class |
StackMapTableAttribute.SameFrameExtended |
static class |
StackMapTableAttribute.SameLocals1StackItemFrame |
static class |
StackMapTableAttribute.SameLocals1StackItemFrameExtended |
static class |
StackMapTableAttribute.TopVariableInfo |
static class |
StackMapTableAttribute.UninitializedThisVariableInfo |
static class |
StackMapTableAttribute.UninitializedVariableInfo |
class |
SyntheticAttribute
A
SyntheticAttribute denotes a Synthetic_attribute structure somewhere in a ClassFile structure. |
class |
UnimplementedAttribute
An
AttributeInfo implementation that is used for all attribute_info structures currently not supported by this library. |
Modifier and Type | Method and Description |
---|---|
static java.util.List<CodeAttribute> |
CodeAttribute.filter(Node node)
Returns a
List with all CodeAttribute s. |
static java.util.List<ConstantValueAttribute> |
ConstantValueAttribute.filter(Node node)
Returns a
List with all ConstantValueAttribute s. |
static java.util.List<DeprecatedAttribute> |
DeprecatedAttribute.filter(Node node)
Returns a
List with all DeprecatedAttribute s. |
static java.util.List<EnclosingMethodAttribute> |
EnclosingMethodAttribute.filter(Node node)
Returns a
List with all EnclosingMethodAttribute s. |
static java.util.List<ExceptionsAttribute> |
ExceptionsAttribute.filter(Node node)
Returns a
List with all ExceptionsAttribute s. |
static java.util.List<InnerClassesAttribute> |
InnerClassesAttribute.filter(Node node)
Returns a
List with all InnerClassesAttribute s. |
static java.util.List<LineNumberTableAttribute> |
LineNumberTableAttribute.filter(Node node)
Returns a
List with all LineNumberTableAttribute s. |
static java.util.List<LocalVariableTableAttribute> |
LocalVariableTableAttribute.filter(Node node)
Returns a
List with all LocalVariableTableAttribute s. |
static java.util.List<LocalVariableTypeTableAttribute> |
LocalVariableTypeTableAttribute.filter(Node node)
Returns a
List with all LocalVariableTypeTableAttribute s. |
static java.util.List<MethodParametersAttribute> |
MethodParametersAttribute.filter(Node node)
Returns a
List with all MethodParametersAttribute s. |
static java.util.List<RuntimeInvisibleAnnotationsAttribute> |
RuntimeInvisibleAnnotationsAttribute.filter(Node node)
Returns a
List with all RuntimeInvisibleAnnotationsAttribute s. |
static java.util.List<RuntimeInvisibleParameterAnnotationsAttribute> |
RuntimeInvisibleParameterAnnotationsAttribute.filter(Node node)
Returns a
List with all RuntimeInvisibleParameterAnnotationsAttribute s. |
static java.util.List<RuntimeVisibleAnnotationsAttribute> |
RuntimeVisibleAnnotationsAttribute.filter(Node node)
Returns a
List with all RuntimeVisibleAnnotationsAttribute s. |
static java.util.List<RuntimeVisibleParameterAnnotationsAttribute> |
RuntimeVisibleParameterAnnotationsAttribute.filter(Node node)
Returns a
List with all RuntimeVisibleParameterAnnotationsAttribute s. |
static java.util.List<SignatureAttribute> |
SignatureAttribute.filter(Node node)
Returns a
List with all SignatureAttribute s. |
static java.util.List<SourceDebugExtensionAttribute> |
SourceDebugExtensionAttribute.filter(Node node)
Returns a
List with all SourceDebugExtensionAttribute s. |
static java.util.List<SourceFileAttribute> |
SourceFileAttribute.filter(Node node)
Returns a
List with all SourceFileAttribute s. |
static java.util.List<StackMapTableAttribute> |
StackMapTableAttribute.filter(Node node)
Returns a
List with all StackMapTableAttribute s. |
static java.util.List<SyntheticAttribute> |
SyntheticAttribute.filter(Node node)
Returns a
List with all SyntheticAttribute s. |
static java.util.List<UnimplementedAttribute> |
UnimplementedAttribute.filter(Node node)
Returns a
List with all UnimplementedAttribute s. |
Modifier and Type | Class and Description |
---|---|
class |
ConstantClassInfo
A
ConstantClassInfo denotes a CONSTANT_Class_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantDoubleInfo
A
ConstantDoubleInfo denotes a CONSTANT_Double_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantDynamicInfo
A
ConstantDynamicInfo denotes a CONSTANT_Dynamic_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantFieldRefInfo
A
ConstantFieldRefInfo denotes a CONSTANT_Fieldref_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantFloatInfo
A
ConstantFloatInfo denotes a CONSTANT_Float_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantIntegerInfo
A
ConstantIntegerInfo denotes a CONSTANT_Integer_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantInterfaceMethodRefInfo
A
ConstantInterfaceMethodRefInfo denotes a CONSTANT_InterfaceMethodref_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantInvokeDynamicInfo
A
ConstantInvokeDynamicInfo denotes a CONSTANT_InvokeDynamic_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantLongInfo
A
ConstantLongInfo denotes a CONSTANT_Long_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantMethodHandleInfo
A
ConstantMethodHandleInfo denotes a CONSTANT_MethodHandle_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantMethodRefInfo
A
ConstantMethodRefInfo denotes a CONSTANT_Methodref_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantMethodTypeInfo
A
ConstantMethodTypeInfo denotes a CONSTANT_MethodType_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantModuleInfo
A
ConstantModuleInfo denotes a CONSTANT_Module_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantNameAndTypeInfo
A
ConstantNameAndTypeInfo denotes a CONSTANT_NameAndType_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantPackageInfo
A
ConstantPackageInfo denotes a CONSTANT_Package_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantStringInfo
A
ConstantStringInfo denotes a CONSTANT_String_info structure in the constant_pool of a ClassFile structure. |
class |
ConstantUTF8Info
A
ConstantUTF8Info denotes a CONSTANT_Utf8_info structure in the constant_pool of a ClassFile structure. |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ConstantClassInfo> |
ConstantClassInfo.filter(Node node)
Returns a
List with all ConstantClassInfo s. |
static java.util.List<ConstantDoubleInfo> |
ConstantDoubleInfo.filter(Node node)
Returns a
List with all ConstantDoubleInfo s. |
static java.util.List<ConstantDynamicInfo> |
ConstantDynamicInfo.filter(Node node)
Returns a
List with all ConstantDynamicInfo s. |
static java.util.List<ConstantFieldRefInfo> |
ConstantFieldRefInfo.filter(Node node)
Returns a
List with all ConstantFieldRefInfo s. |
static java.util.List<ConstantFloatInfo> |
ConstantFloatInfo.filter(Node node)
Returns a
List with all ConstantFloatInfo s. |
static java.util.List<ConstantIntegerInfo> |
ConstantIntegerInfo.filter(Node node)
Returns a
List with all ConstantIntegerInfo s. |
static java.util.List<ConstantInterfaceMethodRefInfo> |
ConstantInterfaceMethodRefInfo.filter(Node node)
Returns a
List with all ConstantInterfaceMethodRefInfo s. |
static java.util.List<ConstantInvokeDynamicInfo> |
ConstantInvokeDynamicInfo.filter(Node node)
Returns a
List with all ConstantInvokeDynamicInfo s. |
static java.util.List<ConstantLongInfo> |
ConstantLongInfo.filter(Node node)
Returns a
List with all ConstantLongInfo s. |
static java.util.List<ConstantMethodHandleInfo> |
ConstantMethodHandleInfo.filter(Node node)
Returns a
List with all ConstantMethodHandleInfo s. |
static java.util.List<ConstantMethodRefInfo> |
ConstantMethodRefInfo.filter(Node node)
Returns a
List with all ConstantMethodRefInfo s. |
static java.util.List<ConstantMethodTypeInfo> |
ConstantMethodTypeInfo.filter(Node node)
Returns a
List with all ConstantMethodTypeInfo s. |
static java.util.List<ConstantModuleInfo> |
ConstantModuleInfo.filter(Node node)
Returns a
List with all ConstantModuleInfo s. |
static java.util.List<ConstantNameAndTypeInfo> |
ConstantNameAndTypeInfo.filter(Node node)
Returns a
List with all ConstantNameAndTypeInfo s. |
static java.util.List<ConstantPackageInfo> |
ConstantPackageInfo.filter(Node node)
Returns a
List with all ConstantPackageInfo s. |
static java.util.List<ConstantStringInfo> |
ConstantStringInfo.filter(Node node)
Returns a
List with all ConstantStringInfo s. |
static java.util.List<ConstantUTF8Info> |
ConstantUTF8Info.filter(Node node)
Returns a
List with all ConstantUTF8Info s. |
Modifier and Type | Interface and Description |
---|---|
interface |
ComponentType |
interface |
FieldDescriptor |
interface |
FieldSignature |
interface |
FieldType |
interface |
JavaTypeSignature |
interface |
ParameterDescriptor |
interface |
ReferenceTypeSignature |
interface |
Result |
interface |
ReturnDescriptor |
interface |
Signature |
interface |
SuperClassSignature |
interface |
SuperInterfaceSignature |
Modifier and Type | Class and Description |
---|---|
class |
ArrayType |
class |
ArrayTypeSignature |
class |
BaseType |
class |
ClassBound |
class |
ClassName |
class |
ClassSignature |
class |
ClassTypeSignature |
class |
ClassTypeSignatureSuffix |
class |
Identifier |
class |
InterfaceBound |
class |
MethodDescriptor |
class |
MethodSignature |
class |
ObjectType |
class |
PackageSpecifier |
class |
SimpleClassTypeSignature |
class |
ThrowsSignature |
class |
TypeArgument |
class |
TypeArguments |
class |
TypeParameter |
class |
TypeParameters |
class |
TypeVariableSignature |
class |
WildcardIndicator |
class |
VoidDescriptor |
Modifier and Type | Method and Description |
---|---|
static <T extends Node> |
NodeFilter.filter(Node node,
NodeFilter nodeFilter,
java.lang.Class<T> clazz)
Returns a
List with the Node s that satisfies the criterion specified by nodeFilter , but only if they are assignment compatible to clazz . |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Node> |
NodeFilter.filter(Node node)
Returns a
List with all Node s. |
static java.util.List<Node> |
NodeFilter.filter(Node node,
NodeFilter nodeFilter)
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Node> |
NodeFilter.filter(Node node)
Returns a
List with all Node s. |
static java.util.List<Node> |
NodeFilter.filter(Node node,
NodeFilter nodeFilter)
|
static <T extends Node> |
NodeFilter.filter(Node node,
NodeFilter nodeFilter,
java.lang.Class<T> clazz)
Returns a
List with the Node s that satisfies the criterion specified by nodeFilter , but only if they are assignment compatible to clazz . |
boolean |
NodeFilter.isAccepted(Node node)
Returns
true if, and only if, node is accepted, false otherwise. |
void |
NodeVisitor.visit(Node node)
Called by a concrete
Node implementation when visiting it. |
boolean |
AbstractReflectiveNodeHierarchicalVisitor.visitEnter(Node node)
Called by a
Node instance when entering it. |
boolean |
NodeHierarchicalVisitor.visitEnter(Node node)
Called by a
Node instance when entering it. |
boolean |
AbstractReflectiveNodeHierarchicalVisitor.visitLeave(Node node)
Called by a
Node instance when leaving it. |
boolean |
NodeHierarchicalVisitor.visitLeave(Node node)
Called by a
Node instance when leaving it. |