Class LazyType
- java.lang.Object
-
- com.github.javaparser.symbolsolver.model.typesystem.LazyType
-
- All Implemented Interfaces:
com.github.javaparser.resolution.types.ResolvedType
public class LazyType extends Object implements com.github.javaparser.resolution.types.ResolvedType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
arrayLevel()
com.github.javaparser.resolution.types.ResolvedArrayType
asArrayType()
com.github.javaparser.resolution.types.ResolvedPrimitiveType
asPrimitive()
com.github.javaparser.resolution.types.ResolvedReferenceType
asReferenceType()
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
asTypeParameter()
com.github.javaparser.resolution.types.ResolvedTypeVariable
asTypeVariable()
com.github.javaparser.resolution.types.ResolvedWildcard
asWildcard()
String
describe()
boolean
isArray()
boolean
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other)
boolean
isNull()
boolean
isPrimitive()
boolean
isReference()
boolean
isReferenceType()
boolean
isTypeVariable()
boolean
isVoid()
boolean
isWildcard()
com.github.javaparser.resolution.types.ResolvedType
replaceTypeVariables(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration tp, com.github.javaparser.resolution.types.ResolvedType replaced)
com.github.javaparser.resolution.types.ResolvedType
replaceTypeVariables(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration tp, com.github.javaparser.resolution.types.ResolvedType replaced, Map<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration,com.github.javaparser.resolution.types.ResolvedType> inferredTypes)
-
-
-
Method Detail
-
isArray
public boolean isArray()
- Specified by:
isArray
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
arrayLevel
public int arrayLevel()
- Specified by:
arrayLevel
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isNull
public boolean isNull()
- Specified by:
isNull
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isReference
public boolean isReference()
- Specified by:
isReference
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isReferenceType
public boolean isReferenceType()
- Specified by:
isReferenceType
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isVoid
public boolean isVoid()
- Specified by:
isVoid
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isTypeVariable
public boolean isTypeVariable()
- Specified by:
isTypeVariable
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isWildcard
public boolean isWildcard()
- Specified by:
isWildcard
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
asArrayType
public com.github.javaparser.resolution.types.ResolvedArrayType asArrayType()
- Specified by:
asArrayType
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
asReferenceType
public com.github.javaparser.resolution.types.ResolvedReferenceType asReferenceType()
- Specified by:
asReferenceType
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
asTypeParameter
public com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration asTypeParameter()
- Specified by:
asTypeParameter
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
asTypeVariable
public com.github.javaparser.resolution.types.ResolvedTypeVariable asTypeVariable()
- Specified by:
asTypeVariable
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
asPrimitive
public com.github.javaparser.resolution.types.ResolvedPrimitiveType asPrimitive()
- Specified by:
asPrimitive
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
asWildcard
public com.github.javaparser.resolution.types.ResolvedWildcard asWildcard()
- Specified by:
asWildcard
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
describe
public String describe()
- Specified by:
describe
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
replaceTypeVariables
public com.github.javaparser.resolution.types.ResolvedType replaceTypeVariables(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration tp, com.github.javaparser.resolution.types.ResolvedType replaced, Map<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration,com.github.javaparser.resolution.types.ResolvedType> inferredTypes)
- Specified by:
replaceTypeVariables
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
replaceTypeVariables
public com.github.javaparser.resolution.types.ResolvedType replaceTypeVariables(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration tp, com.github.javaparser.resolution.types.ResolvedType replaced)
- Specified by:
replaceTypeVariables
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isAssignableBy
public boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other)
- Specified by:
isAssignableBy
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
-