Package org.benf.cfr.reader.entities
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 AttributeMap
private JavaTypeInstance
private final TypedLiteral
private final ConstantPool
private final int
private boolean
private final String
private final long
private static final long
private static final long
private static final long
private static final long
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectTypeUsages
(TypeUsageCollector collector) void
long
private AttributeSignature
boolean
isAccessibleFrom
(JavaRefTypeInstance maybeCaller, ClassFile classFile) (package private) void
boolean
testAccessFlag
(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:
getRawByteLength
in interfaceKnowsRawSize
-
getSignatureAttribute
-
getJavaTypeInstance
-
setDisambiguate
void setDisambiguate() -
getFieldName
-
testAccessFlag
-
getAccessFlags
-
getConstantValue
-
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
-
dump
-
isAccessibleFrom
-