Package | Description |
---|---|
org.macroing.cel4j.java.binary.classfile.cpinfo |
Provides classes and interfaces that models various cp_info structures.
|
org.macroing.cel4j.java.binary.support |
Provides support classes for all Java Binary APIs.
|
Modifier and Type | Method and Description |
---|---|
ConstantUTF8Info |
ConstantUTF8Info.copy()
Returns a copy of this
ConstantUTF8Info instance. |
static ConstantUTF8Info |
ConstantUTF8Info.findByAttributeNameIndex(AttributeInfo attributeInfo,
ClassFile classFile)
Returns the
ConstantUTF8Info that is located on the index attributeInfo.getAttributeNameIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByAttributeNameIndex(AttributeInfo attributeInfo,
ClassFile classFile,
FieldInfo fieldInfo)
Returns the
ConstantUTF8Info that is located on the index attributeInfo.getAttributeNameIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByAttributeNameIndex(AttributeInfo attributeInfo,
ClassFile classFile,
MethodInfo methodInfo)
Returns the
ConstantUTF8Info that is located on the index attributeInfo.getAttributeNameIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByDescriptorIndex(ClassFile classFile,
FieldInfo fieldInfo)
Returns the
ConstantUTF8Info that is located on the index fieldInfo.getDescriptorIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByDescriptorIndex(ClassFile classFile,
MethodInfo methodInfo)
Returns the
ConstantUTF8Info that is located on the index methodInfo.getDescriptorIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByNameIndex(ClassFile classFile,
FieldInfo fieldInfo)
Returns the
ConstantUTF8Info that is located on the index fieldInfo.getNameIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByNameIndex(ClassFile classFile,
MethodInfo methodInfo)
Returns the
ConstantUTF8Info that is located on the index methodInfo.getNameIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.findByStringIndex(ClassFile classFile,
ConstantStringInfo constantStringInfo)
Returns the
ConstantUTF8Info that is located on the index constantStringInfo.getStringIndex() in the constant_pool table of classFile . |
static ConstantUTF8Info |
ConstantUTF8Info.newInstance(java.lang.String string)
Returns a new
ConstantUTF8Info . |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ConstantUTF8Info> |
ConstantUTF8Info.filter(Node node)
Returns a
List with all ConstantUTF8Info s. |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ConstantUTF8Info> |
ClassFiles.getConstantUTF8InfosReferencedFromConstantClassInfos(ClassFile classFile)
Returns a
List with all ConstantUTF8Info s that are referenced from ConstantClassInfo s in the constant_pool table of classFile . |
static java.util.List<ConstantUTF8Info> |
ClassFiles.getConstantUTF8InfosReferencedFromConstantNameAndTypeInfos(ClassFile classFile)
Returns a
List with all ConstantUTF8Info s that are referenced from ConstantNameAndTypeInfo s in the constant_pool table of classFile . |
Modifier and Type | Method and Description |
---|---|
static boolean |
ClassFiles.isClassName(ClassFile classFile,
ConstantUTF8Info constantUTF8Info)
Returns
true if, and only if, constantUTF8Info refers to the name of classFile , false otherwise. |
static boolean |
ClassFiles.isFieldDescriptor(ClassFile classFile,
ConstantUTF8Info constantUTF8Info)
Returns
true if, and only if, constantUTF8Info refers to the descriptor of a FieldInfo in classFile , false otherwise. |
static boolean |
ClassFiles.isFieldInfoName(ClassFile classFile,
ConstantUTF8Info constantUTF8Info)
Returns
true if, and only if, constantUTF8Info refers to the name of a FieldInfo in classFile , false otherwise. |
static boolean |
ClassFiles.isMethodDescriptor(ClassFile classFile,
ConstantUTF8Info constantUTF8Info)
Returns
true if, and only if, constantUTF8Info refers to the descriptor of a MethodInfo in classFile , false otherwise. |
static boolean |
ClassFiles.isMethodInfoName(ClassFile classFile,
ConstantUTF8Info constantUTF8Info)
Returns
true if, and only if, constantUTF8Info refers to the name of a MethodInfo in classFile , false otherwise. |