Package com.strobel.assembler.metadata
Class UnionType
java.lang.Object
com.strobel.assembler.metadata.MemberReference
com.strobel.assembler.metadata.TypeReference
com.strobel.assembler.metadata.UnionType
- All Implemented Interfaces:
IAnnotationsProvider
,IGenericContext
,IGenericParameterProvider
,IMetadataTypeMember
,IUnionType
-
Nested Class Summary
Nested classes/interfaces inherited from class com.strobel.assembler.metadata.TypeReference
TypeReference.TypeFunctions
-
Field Summary
FieldsFields inherited from class com.strobel.assembler.metadata.TypeReference
EMPTY_REFERENCES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,
P> R accept
(TypeMetadataVisitor<P, R> visitor, P parameter) protected StringBuilder
appendName
(StringBuilder sb, boolean fullName, boolean dottedName) boolean
static TypeReference
of
(TypeReference... types) Methods inherited from class com.strobel.assembler.metadata.TypeReference
appendBriefDescription, appendClassDescription, appendClassSignature, appendDescription, appendErasedClassSignature, appendErasedDescription, appendErasedSignature, appendGenericSignature, appendSignature, appendSimpleDescription, checkRecursive, containsGenericParameters, equals, findTypeVariable, getBriefDescription, getDeclaringType, getDescription, getElementType, getErasedDescription, getExtendsBound, getFullName, getGenericParameters, getInternalName, getName, getPackageName, getRawType, getSimpleDescription, getSimpleType, getSuperBound, getUnderlyingType, hasExtendsBound, hasGenericParameters, hashCode, hasSuperBound, isArray, isBoundedType, isCompoundType, isEquivalentTo, isGenericDefinition, isGenericParameter, isGenericType, isNested, isPrimitive, isUnbounded, isVoid, isWildcardType, makeArrayType, makeGenericType, makeGenericType, resolve, resolve, resolve, resolve, setDeclaringType, setName, toString
Methods inherited from class com.strobel.assembler.metadata.MemberReference
getAnnotations, getErasedSignature, getSignature, hasAnnotations, isDefinition, isSpecialName
-
Field Details
-
_alternatives
-
_simpleName
-
-
Constructor Details
-
UnionType
-
-
Method Details
-
getAlternatives
- Specified by:
getAlternatives
in interfaceIUnionType
-
getSimpleName
- Specified by:
getSimpleName
in classTypeReference
-
appendName
- Overrides:
appendName
in classTypeReference
-
accept
- Specified by:
accept
in classTypeReference
-
isUnionType
public boolean isUnionType()- Overrides:
isUnionType
in classTypeReference
-
of
-