Package com.strobel.assembler.metadata
Class CompoundTypeDefinition
java.lang.Object
com.strobel.assembler.metadata.MemberReference
com.strobel.assembler.metadata.TypeReference
com.strobel.assembler.metadata.TypeDefinition
com.strobel.assembler.metadata.CompoundTypeDefinition
- All Implemented Interfaces:
IAnnotationsProvider
,ICompoundType
,IGenericContext
,IGenericParameterProvider
,IMemberDefinition
,IMetadataTypeMember
-
Nested Class Summary
Nested classes/interfaces inherited from class com.strobel.assembler.metadata.TypeReference
TypeReference.TypeFunctions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeReference
private final List
<TypeReference> private final TypeReference
Fields inherited from class com.strobel.assembler.metadata.TypeReference
EMPTY_REFERENCES
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundTypeDefinition
(TypeReference baseType, List<TypeReference> interfaces, IMetadataResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionfinal <R,
P> R accept
(TypeMetadataVisitor<P, R> visitor, P parameter) protected StringBuilder
boolean
final List
<TypeReference> getName()
boolean
Methods inherited from class com.strobel.assembler.metadata.TypeDefinition
appendGenericSignature, appendName, findTypeVariable, getAnnotations, getAnnotationsInternal, getBaseType, getCompilerMajorVersion, getCompilerMinorVersion, getCompilerTarget, getConstantPool, getDeclaredFields, getDeclaredFieldsInternal, getDeclaredMethods, getDeclaredMethodsInternal, getDeclaredTypes, getDeclaredTypesInternal, getDeclaringMethod, getEnumConstants, getErasedSignature, getExplicitInterfaces, getExplicitInterfacesInternal, getFlags, getGenericParameters, getGenericParametersInternal, getModifiers, getPackageName, getPermittedSubclasses, getPermittedSubclassesInternal, getRawType, getResolver, getSignature, getSimpleType, getSourceAttributes, getSourceAttributesInternal, getTypeLoader, isAnnotation, isAnonymous, isArray, isClass, isDefinition, isDeprecated, isEnum, isFinal, isInnerClass, isInterface, isLocalClass, isModule, isNested, isNonPublic, isNonSealed, isPackagePrivate, isPrimitive, isPrivate, isProtected, isPublic, isRecord, isSealed, isStatic, isSynthetic, resolve, setBaseType, setCompilerVersion, setConstantPool, setDeclaringMethod, setEnumConstants, setFlags, setPackageName, setResolver, setSimpleName, setTypeLoader
Methods inherited from class com.strobel.assembler.metadata.TypeReference
appendClassDescription, appendClassSignature, checkRecursive, equals, getBriefDescription, getDeclaringType, getDescription, getElementType, getErasedDescription, getExtendsBound, getSimpleDescription, getSuperBound, hasExtendsBound, hasGenericParameters, hashCode, hasSuperBound, isBoundedType, isEquivalentTo, isGenericDefinition, isGenericParameter, isGenericType, isUnbounded, isUnionType, isVoid, isWildcardType, makeArrayType, makeGenericType, makeGenericType, resolve, resolve, resolve, setDeclaringType, setName, toString
Methods inherited from class com.strobel.assembler.metadata.MemberReference
hasAnnotations, isSpecialName
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.strobel.assembler.metadata.ICompoundType
getBaseType, getResolver
Methods inherited from interface com.strobel.assembler.metadata.IMemberDefinition
getBriefDescription, getDeclaringType, getDescription, getErasedDescription, getSimpleDescription, isSpecialName
-
Field Details
-
_underlyingType
-
_baseType
-
_interfaces
-
-
Constructor Details
-
CompoundTypeDefinition
CompoundTypeDefinition(TypeReference baseType, List<TypeReference> interfaces, IMetadataResolver resolver)
-
-
Method Details
-
getInterfaces
- Specified by:
getInterfaces
in interfaceICompoundType
-
isCompoundType
public boolean isCompoundType()- Overrides:
isCompoundType
in classTypeDefinition
-
getSimpleName
- Overrides:
getSimpleName
in classTypeDefinition
-
containsGenericParameters
public boolean containsGenericParameters()- Overrides:
containsGenericParameters
in classTypeReference
-
getName
- Specified by:
getName
in interfaceIMemberDefinition
- Specified by:
getName
in interfaceIMetadataTypeMember
- Overrides:
getName
in classTypeReference
-
getFullName
- Specified by:
getFullName
in interfaceIMemberDefinition
- Overrides:
getFullName
in classTypeDefinition
-
getInternalName
- Overrides:
getInternalName
in classTypeDefinition
-
getUnderlyingType
- Overrides:
getUnderlyingType
in classTypeReference
-
accept
- Overrides:
accept
in classTypeDefinition
-
appendBriefDescription
- Overrides:
appendBriefDescription
in classTypeReference
-
appendSimpleDescription
- Overrides:
appendSimpleDescription
in classTypeReference
-
appendErasedDescription
- Overrides:
appendErasedDescription
in classTypeReference
-
appendDescription
- Overrides:
appendDescription
in classTypeDefinition
-
appendSignature
- Overrides:
appendSignature
in classTypeReference
-
appendErasedSignature
- Overrides:
appendErasedSignature
in classTypeReference
-
appendErasedClassSignature
- Overrides:
appendErasedClassSignature
in classTypeReference
-