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.cpinfo |
Provides classes and interfaces that models various cp_info structures.
|
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 | Method and Description |
---|---|
static NodeFilter |
MethodInfo.newAbstractNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isAbstract() method that returns true . |
static NodeFilter |
MethodInfo.newBridgeNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isBridge() method that returns true . |
static NodeFilter |
MethodInfo.newClassCompatibleNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isClassCompatible() method that returns true . |
static NodeFilter |
MethodInfo.newFinalNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isFinal() method that returns true . |
static NodeFilter |
MethodInfo.newInterfaceCompatibleNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isInterfaceCompatible() method that returns true . |
static NodeFilter |
MethodInfo.newNativeNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isNative() method that returns true . |
static NodeFilter |
MethodInfo.newNonStaticNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isStatic() method that returns false . |
static NodeFilter |
MethodInfo.newPrivateNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isPrivate() method that returns true . |
static NodeFilter |
MethodInfo.newProtectedNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isProtected() method that returns true . |
static NodeFilter |
MethodInfo.newPublicNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isPublic() method that returns true . |
static NodeFilter |
MethodInfo.newStaticNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isStatic() method that returns true . |
static NodeFilter |
MethodInfo.newStrictNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isStrict() method that returns true . |
static NodeFilter |
MethodInfo.newSynchronizedNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isSynchronized() method that returns true . |
static NodeFilter |
MethodInfo.newSyntheticNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isSynthetic() method that returns true . |
static NodeFilter |
MethodInfo.newVarargsNodeFilter()
Returns a
NodeFilter that accepts Node s that are instances of MethodInfo and have an isVarargs() method that returns true . |
Modifier and Type | Method and Description |
---|---|
static NodeFilter |
ConstantUTF8Info.newAnyNodeFilter()
|
static NodeFilter |
ConstantUTF8Info.newRegexNodeFilter(java.lang.String regex)
Returns a
NodeFilter that accepts Node s that are instances of ConstantUTF8Info and have a getString() method that matches regex . |
Modifier and Type | Method and Description |
---|---|
static NodeFilter |
NodeFilter.and(NodeFilter... nodeFilters)
|
static NodeFilter |
NodeFilter.any()
Returns a
NodeFilter that accepts any Node . |
static NodeFilter |
NodeFilter.or(NodeFilter... nodeFilters)
Returns a
NodeFilter that accepts all Node s that are accepted by at least one of the aggregated NodeFilter s. |
static NodeFilter |
NodeFilter.regex(java.lang.String regex)
Returns a
NodeFilter that accepts all Node s that have a toString() method that matches the given Regex. |
Modifier and Type | Method and Description |
---|---|
static NodeFilter |
NodeFilter.and(NodeFilter... nodeFilters)
|
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 . |
static NodeFilter |
NodeFilter.or(NodeFilter... nodeFilters)
Returns a
NodeFilter that accepts all Node s that are accepted by at least one of the aggregated NodeFilter s. |