Class Field
java.lang.Object
org.benf.cfr.reader.entities.Field
- All Implemented Interfaces:
KnowsRawSize, TypeUsageCollectable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<AccessFlag> private final AttributeMapprivate JavaTypeInstanceprivate final TypedLiteralprivate final ConstantPoolprivate final intprivate booleanprivate final Stringprivate final longprivate static final longprivate static final longprivate static final longprivate static final longprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectTypeUsages(TypeUsageCollector collector) voidprivate JavaTypeInstancelongprivate AttributeSignaturebooleanisAccessibleFrom(JavaRefTypeInstance maybeCaller, ClassFile classFile) (package private) voidbooleantestAccessFlag(AccessFlag accessFlag)
-
Field Details
-
OFFSET_OF_ACCESS_FLAGS
private static final long OFFSET_OF_ACCESS_FLAGS- See Also:
-
OFFSET_OF_NAME_INDEX
private static final long OFFSET_OF_NAME_INDEX- See Also:
-
OFFSET_OF_DESCRIPTOR_INDEX
private static final long OFFSET_OF_DESCRIPTOR_INDEX- See Also:
-
OFFSET_OF_ATTRIBUTES_COUNT
private static final long OFFSET_OF_ATTRIBUTES_COUNT- See Also:
-
OFFSET_OF_ATTRIBUTES
private static final long OFFSET_OF_ATTRIBUTES- See Also:
-
cp
-
length
private final long length -
descriptorIndex
private final int descriptorIndex -
accessFlags
-
attributes
-
constantValue
-
fieldName
-
disambiguate
private boolean disambiguate -
cachedDecodedType
-
-
Constructor Details
-
Field
-
-
Method Details
-
getRawByteLength
public long getRawByteLength()- Specified by:
getRawByteLengthin interfaceKnowsRawSize
-
getSignatureAttribute
-
generateTypeInstance
-
getJavaTypeInstance
-
setDisambiguate
void setDisambiguate() -
getFieldName
-
testAccessFlag
-
getAccessFlags
-
getConstantValue
-
collectTypeUsages
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable
-
dump
-
isAccessibleFrom
-