Interface JType
- All Superinterfaces:
honeyroasted.collect.copy.Copyable<JType, JTypeCache<JType,,JType>> honeyroasted.almonds.SimpleName
- All Known Subinterfaces:
JArgumentType,JArrayType,JClassReference,JClassType,JFieldReference,JGenericDeclaration,JInstantiableType,JIntersectionType,JMetaVarType,JMethodReference,JMethodType,JNoneType,JParameterizedClassType,JParameterizedMethodType,JParameterizedType,JPrimitiveType,JVarType,JWildType,JWildType.Lower,JWildType.Upper
- All Known Implementing Classes:
JAbstractDelegateType,JAbstractPossiblyUnmodifiableDelegateType,JAbstractPossiblyUnmodifiableType,JAbstractType,JArrayTypeDelegate,JArrayTypeImpl,JClassReferenceDelegate,JClassReferenceImpl,JFieldReferenceDelegate,JFieldReferenceImpl,JIntersectionTypeDelegate,JIntersectionTypeImpl,JMetaVarTypeDelegate,JMetaVarTypeImpl,JMethodReferenceDelegate,JMethodReferenceImpl,JNoneTypeImpl,JParameterizedClassTypeDelegate,JParameterizedClassTypeImpl,JParameterizedMethodTypeDelegate,JParameterizedMethodTypeImpl,JPrimitiveTypeImpl,JVarTypeDelegate,JVarTypeImpl,JWildTypeLowerDelegate,JWildTypeLowerImpl,JWildTypeUpperDelegate,JWildTypeUpperImpl
public interface JType
extends honeyroasted.almonds.SimpleName, honeyroasted.collect.copy.Copyable<JType, JTypeCache<JType,JType>>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault <R,P> R accept(JTypeVisitor<R, P> visitor) <R,P> R accept(JTypeVisitor<R, P> visitor, P context) default booleanstatic booleanbaseCaseEquivalence(JType left, JType other, Set<honeyroasted.collect.multi.Pair<JType, JType>> seen) static <T> Set<T> default <T extends JType>
Tcopy()<T extends JType>
Tcopy(JTypeCache<JType, JType> cache) default JSignaturedefault JDescriptordownwardsProjection(Predicate<JType> restricted) default booleanequals(JType other, JType.Equality kind) booleanstatic booleanequals(JType left, JType right, JType.Equality kind, Set<honeyroasted.collect.multi.Pair<JType, JType>> seen) static booleanequals(List<? extends JType> left, List<? extends JType> right, JType.Equality kind, Set<honeyroasted.collect.multi.Pair<JType, JType>> seen) static booleanequals(Set<? extends JType> left, Set<? extends JType> right, JType.Equality kind, Set<honeyroasted.collect.multi.Pair<JType, JType>> seen) default booleandefault booleanhasCyclicTypeVariables(Set<JVarType> seen) static intstatic intstatic intintdefault booleanisAssignableFrom(JType other) default booleanisAssignableTo(JType other) default booleanisCompatibleFrom(JType other, JTypeConstraints.Compatible.Context context) default booleanisCompatibleTo(JType other, JTypeConstraints.Compatible.Context context) default booleanisContextType(Object object) default booleandefault booleandefault booleanisResultType(Object object) honeyroasted.collect.property.PropertySetmetadata()static intmultiHash(int... hashes) default JSignaturedefault booleanstructuralEquals(JType other) static booleanstructuralEquals(JType left, JType right) static booleandefault booleantypeEquals(JType other) static booleantypeEquals(JType left, JType right) static booleandefault JTypedefault JTypeupwardsProjection(Predicate<JType> restricted) default JVarTypeResolveVisitorMethods inherited from interface honeyroasted.almonds.SimpleName
simpleName
-
Method Details
-
typeSystem
JTypeSystem typeSystem() -
signature
-
declarationSignature
-
descriptor
-
accept
-
metadata
honeyroasted.collect.property.PropertySet metadata() -
varTypeResolver
-
upwardsProjection
-
upwardsProjection
-
downwardsProjection
-
downwardsProjection
-
accept
-
accept
-
isCompatibleTo
-
isCompatibleFrom
-
isAssignableTo
-
isAssignableFrom
-
baseCaseEquivalence
-
concat
-
typeEquals
-
typeEquals
-
structuralEquals
-
structuralEquals
-
equals
-
equals
-
equals
-
hashCode
-
hashCode
-
hashCode
-
multiHash
static int multiHash(int... hashes) -
equals
boolean equals(JType other, JType.Equality kind, Set<honeyroasted.collect.multi.Pair<JType, JType>> seen) -
equals
-
typeEquals
-
structuralEquals
-
hashCode
-
isNullType
default boolean isNullType() -
knownDirectSupertypes
-
copy
- Specified by:
copyin interfacehoneyroasted.collect.copy.Copyable<JType, JTypeCache<JType,JType>>
-
copy
- Specified by:
copyin interfacehoneyroasted.collect.copy.Copyable<JType, JTypeCache<JType,JType>>
-
isProperType
default boolean isProperType() -
hasCyclicTypeVariables
default boolean hasCyclicTypeVariables() -
hasCyclicTypeVariables
-
isResultType
- Specified by:
isResultTypein interfacehoneyroasted.collect.copy.Copyable<JType, JTypeCache<JType,JType>>
-
isContextType
- Specified by:
isContextTypein interfacehoneyroasted.collect.copy.Copyable<JType, JTypeCache<JType,JType>>
-