Package com.strobel.assembler.metadata
Class MetadataParser
java.lang.Object
com.strobel.assembler.metadata.MetadataParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final class
private static final class
private static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CoreMetadataFactory
private final Stack
<IGenericContext> private final IMetadataResolver
private final SignatureParser
private final AtomicInteger
private static final TypeReference[]
private static final ThreadLocal
<MetadataParser> -
Constructor Summary
ConstructorsConstructorDescriptionMetadataParser
(IMetadataResolver resolver) MetadataParser
(TypeDefinition owner) -
Method Summary
Modifier and TypeMethodDescriptionfinal IMetadataResolver
private static int
hashPrimitiveName
(String name) (package private) MethodReference
lookupMethod
(TypeReference declaringType, String name, IMethodSignature signature) lookupType
(String packageName, String typeName) lookupTypeVariable
(String name) parseClassSignature
(String signature) parseField
(TypeReference declaringType, String name, String signature) parseMethod
(TypeReference declaringType, String name, String descriptor) parseMethodSignature
(String signature) parseTypeDescriptor
(String descriptor) parseTypeSignature
(String signature) void
void
pushGenericContext
(IGenericContext context) final SafeCloseable
static MetadataParser
unbound()
-
Field Details
-
THREAD_UNBOUND_PARSERS
-
_resolver
-
_signatureParser
-
_genericContexts
-
_factory
-
_suppressResolveDepth
-
PRIMITIVE_TYPES
-
-
Constructor Details
-
MetadataParser
public MetadataParser() -
MetadataParser
-
MetadataParser
-
-
Method Details
-
unbound
-
suppressTypeResolution
-
getResolver
-
pushGenericContext
-
popGenericContext
public void popGenericContext() -
parseTypeDescriptor
-
parseTypeSignature
-
parseField
-
parseMethod
-
lookupType
-
lookupTypeVariable
-
parseMethodSignature
-
parseClassSignature
-
lookupMethod
-
hashPrimitiveName
-