Package com.strobel.assembler.metadata
Class ClassFileReader.Scope
java.lang.Object
com.strobel.assembler.metadata.ClassFileReader.Scope
- All Implemented Interfaces:
IMetadataScope
- Enclosing class:
ClassFileReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConstantPool
private final MetadataParser
private final TypeDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionScope
(MetadataParser parser, TypeDefinition typeDefinition, ConstantPool constantPool) -
Method Summary
Modifier and TypeMethodDescriptionlookup
(int token) <T> T
lookupConstant
(int token) lookupDynamicCallSite
(int token) lookupField
(int token) lookupField
(int typeToken, int nameAndTypeToken) lookupMethod
(int token) lookupMethod
(int typeToken, int nameAndTypeToken) lookupMethodHandle
(int token) lookupMethodType
(int token) lookupType
(int token)
-
Field Details
-
_parser
-
_typeDefinition
-
_constantPool
-
-
Constructor Details
-
Scope
Scope(MetadataParser parser, TypeDefinition typeDefinition, ConstantPool constantPool)
-
-
Method Details
-
lookupType
- Specified by:
lookupType
in interfaceIMetadataScope
-
lookupField
- Specified by:
lookupField
in interfaceIMetadataScope
-
lookupMethod
- Specified by:
lookupMethod
in interfaceIMetadataScope
-
lookupMethodHandle
- Specified by:
lookupMethodHandle
in interfaceIMetadataScope
-
lookupMethodType
- Specified by:
lookupMethodType
in interfaceIMetadataScope
-
lookupDynamicCallSite
- Specified by:
lookupDynamicCallSite
in interfaceIMetadataScope
-
lookupField
- Specified by:
lookupField
in interfaceIMetadataScope
-
lookupMethod
- Specified by:
lookupMethod
in interfaceIMetadataScope
-
lookupConstant
public <T> T lookupConstant(int token) - Specified by:
lookupConstant
in interfaceIMetadataScope
-
lookup
- Specified by:
lookup
in interfaceIMetadataScope
-