Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

AccessLevel - Enum in com.github.javaparser.symbolsolver.model.declarations
 
accessLevel() - Method in interface com.github.javaparser.symbolsolver.model.declarations.HasAccessLevel
The AccessLevel of this element.
adapt(SymbolReference<? extends O>, Class<O>) - Static method in class com.github.javaparser.symbolsolver.model.resolution.SymbolReference
 
ALL - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
AnnotationDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
 
arrayLevel() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
ArrayType - Class in com.github.javaparser.symbolsolver.model.typesystem
Array Type.
ArrayType(Type) - Constructor for class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
asArrayType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
asArrayType() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asClass() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Return this as a ClassDeclaration or throw UnsupportedOperationException.
asConstraintType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
asConstraintType() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asEnum() - Method in interface com.github.javaparser.symbolsolver.model.declarations.EnumDeclaration
 
asEnum() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Return this as a EnumDeclaration or throw UnsupportedOperationException.
asField() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Return this as a FieldDeclaration or throw an UnsupportedOperationException
asField() - Method in interface com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration
 
asInterface() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Return this as a InterfaceDeclaration or throw UnsupportedOperationException.
asMethod() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Return this as a MethodDeclaration or throw an UnsupportedOperationException
asParameter() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Return this as a ParameterDeclaration or throw an UnsupportedOperationException
asPrimitive() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
asPrimitive() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asReferenceType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
 
asReferenceType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
 
asReferenceType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
asReferenceType() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Return this as a TypeDeclaration or throw an UnsupportedOperationException
asType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
 
asTypeParameter() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Return this as a TypeParameterDeclaration or throw UnsupportedOperationException.
asTypeParameter() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asTypeParameter() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
asTypeVariable() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asTypeVariable() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
asWildcard() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
asWildcard() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 

B

BOOLEAN - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
bound(Type) - Static method in class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
build() - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap.Builder
 
Builder() - Constructor for class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap.Builder
 
byName(String) - Static method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
BYTE - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 

C

canBeAssignedTo(ReferenceTypeDeclaration) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Can we assign instances of the type defined by this declaration to variables having the type defined by the given type?
CHAR - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
ClassDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
Declaration of a Class (not an interface or an enum).
com.github.javaparser.symbolsolver.model.declarations - package com.github.javaparser.symbolsolver.model.declarations
 
com.github.javaparser.symbolsolver.model.methods - package com.github.javaparser.symbolsolver.model.methods
 
com.github.javaparser.symbolsolver.model.resolution - package com.github.javaparser.symbolsolver.model.resolution
 
com.github.javaparser.symbolsolver.model.typesystem - package com.github.javaparser.symbolsolver.model.typesystem
 
com.github.javaparser.symbolsolver.model.typesystem.parametrization - package com.github.javaparser.symbolsolver.model.typesystem.parametrization
 
compareConsideringTypeParameters(ReferenceType) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
ConstructorDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
A declaration of a constructor.
containerType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Get the TypeDeclaration enclosing this declaration.
create(ReferenceTypeDeclaration, List<Type>, TypeSolver) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
create(ReferenceTypeDeclaration, TypeParametersMap, TypeSolver) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
create(ReferenceTypeDeclaration, TypeSolver) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 

D

Declaration - Interface in com.github.javaparser.symbolsolver.model.declarations
A generic declaration.
declaredOnMethod() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
Is the type parameter been defined on a method?
declaredOnType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
Is the type parameter been defined on a type?
declaringType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ConstructorDeclaration
 
declaringType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration
The type on which this field has been declared
declaringType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
The type in which the method is declared.
declaringType() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
deriveTypeParameters(TypeParametersMap) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
describe() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.VoidType
 
describe() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
describeType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ParameterDeclaration
Describe the type of the parameter.
DOUBLE - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 

E

empty() - Static method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
EnumDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
Declaration of an Enum.
equals(Object) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
equals(Object) - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
equals(Object) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
equals(Object) - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
equals(Object) - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
extendsBound(Type) - Static method in class com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration.Bound
Create an extends bound with the given type:
extendsBound(Type) - Static method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 

F

FieldDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
Declaration of a field.
findTypeParameter(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
 
findTypeParameter(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
 
findTypeParameter(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParametrizable
Find the closest TypeParameterDeclaration with the given name.
FLOAT - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
from(ValueDeclaration) - Static method in class com.github.javaparser.symbolsolver.model.resolution.Value
Create a Value from a ValueDeclaration.

G

getAllAncestors() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
The list of all the ancestors of the current declaration, direct and indirect.
getAllAncestors() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Return all ancestors, that means all superclasses and interfaces.
getAllClassesAncestors() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
getAllFields() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all fields, either declared in this declaration or inherited.
getAllInterfaces() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ClassDeclaration
Return all the interfaces implemented by this class, either directly or indirectly, including the interfaces extended by interfaces it implements.
getAllInterfacesAncestors() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
getAllInterfacesExtended() - Method in interface com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclaration
Return the list of interfaces extended directly or indirectly by this one.
getAllMethods() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all the methods declared of this type declaration, either declared or inherited.
getAllNonStaticFields() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all the non static fields, either declared or inherited.
getAllStaticFields() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all the static fields, either declared or inherited.
getAllSuperClasses() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ClassDeclaration
Get all superclasses, with all the type typeParametersValues expressed as functions of the type typeParametersValues of this declaration.
getAncestors() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
The list of all the direct ancestors of the current declaration.
getBound() - Method in class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
getBoundedType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
getBounds(TypeSolver) - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
The bounds specified for the type parameter.
getBoxTypeQName() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
getComponentType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
getConstructors() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ClassDeclaration
List of constructors available for the class.
getContainerId() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
The ID of the container.
getContainerQualifiedName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
The qualified name of the container.
getCorrespondingDeclaration() - Method in class com.github.javaparser.symbolsolver.model.resolution.SymbolReference
The corresponding declaration.
getDeclaration() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
getDeclaredFields() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all the fields declared in this type.
getDeclaredMethods() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all the methods declared in this type declaration.
getDeclaredMethods() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Methods declared on this type.
getField(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Note that the type of the field should be expressed using the type variables of this particular type.
getFieldType(String) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
The type of the field could be different from the one in the corresponding FieldDeclaration because type variables would be solved.
getGenericParameterByName(String) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParameterValueProvider
 
getGenericParameterByName(String) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Get the type associated with the type parameter with the given name.
getId() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
The ID corresponds most of the type to the qualified name.
getId() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Id of the declaration.
getInterfaces() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ClassDeclaration
Return all the interfaces implemented directly by this class.
getInterfacesExtended() - Method in interface com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclaration
Return the list of interfaces extended directly by this one.
getLastParam() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
Utility method to get the last ParameterDeclaration.
getName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Should return the name or throw a RuntimeException if the name is not available.
getName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
Name of the type parameter.
getName() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
getName() - Method in class com.github.javaparser.symbolsolver.model.resolution.Value
 
getNoParams() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
Return the number of formal arguments accepted by this method.
getNumberOfParams() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
Number of params.
getParam(int) - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
Get the ParameterDeclaration at the corresponding position or throw IllegalArgumentException.
getParamType(int) - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
Return the type of the formal argument at the given position.
getParamTypes() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
getParent() - Method in interface com.github.javaparser.symbolsolver.model.resolution.TypeSolver
Parent of the this TypeSolver.
getQualifiedName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
The qualified name of the method composed by the qualfied name of the declaring type followed by a dot and the name of the method.
getQualifiedName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
The fully qualified name of the type declared.
getQualifiedName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
The qualified name of the Type Parameter.
getQualifiedName() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Qualified name of the declaration.
getQualifiedSignature() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
The qualified signature of the method.
getQualifiedSignature() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
getReturnType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
The type of the value returned by the current method.
getRoot() - Method in interface com.github.javaparser.symbolsolver.model.resolution.TypeSolver
Get the root of the hierarchy of type solver.
getSignature() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
The signature of the method.
getSuperClass() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ClassDeclaration
This is a ReferenceTypeUsage because it could contain type typeParametersValues.
getType() - Method in class com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration.Bound
Get the type used in the Bound.
getType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ValueDeclaration
Type of the declaration.
getType() - Method in class com.github.javaparser.symbolsolver.model.resolution.Value
 
getTypeDeclaration() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Corresponding TypeDeclaration
getTypeParameters() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParametrizable
The list of type parameters defined on this element.
getTypeParametersMap() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Get the values for all type parameters declared on this type.
getValue(TypeParameterDeclaration) - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
getValueBySignature(String) - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
getVisibleField(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Consider only field or inherited field which is not private.
getVisibleFields() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Return a list of all fields declared and the inherited ones which are not private.

H

HasAccessLevel - Interface in com.github.javaparser.symbolsolver.model.declarations
Anything which can have an AccessLevel.
hasAnnotation(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Has the type at least one annotation declared or inherited having the specified qualified name?
hasDirectlyAnnotation(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Has the type at least one annotation declared having the specified qualified name?
hasField(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Has this type a field with the given name?
hashCode() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
hashCode() - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
hashCode() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
hashCode() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
hashCode() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
hasName() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Anonymous classes do not have a name, for example.
hasName() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Has the TypeDeclaration a name? Anonymous classes do not have one.
hasVariadicParameter() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodLikeDeclaration
Has the method or construcor a variadic parameter? Note that when a method has a variadic parameter it should have an array type.
hasVisibleField(String) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Either a declared field or inherited field which is not private.

I

INSTANCE - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
INSTANCE - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.VoidType
 
INT - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
InterfaceDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
An interface declaration.
internalTypes() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Get the list of types defined inside the current type.
isAbstract() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
Is the method abstract? All interface methods not marked as default are abstract.
isArray() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
isArray() - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
isArray() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
isArray() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Does this type represent an array?
isArray() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
isAssignableBy(Type) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Can we assign instances of the given type to variables having the type defined by this declaration?
isAssignableBy(ReferenceTypeDeclaration) - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
Can we assign instances of the given type to variables having the type defined by this declaration?
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
This method checks if ThisType t = new OtherType() would compile.
isAssignableBy(Type) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
This method checks if ThisType t = new OtherType() would compile.
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.VoidType
 
isAssignableBy(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
isBounded() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
isClass() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ClassDeclaration
This method should always return true.
isClass() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Is this the declaration of a class? Note that an Enum is not considered a Class in this case.
isConstraint() - Method in class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
isConstraint() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Is this a lambda constraint type?
isCorrespondingBoxingType(String) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
isDefaultMethod() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
Is this a default method?
isEmpty() - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
isEnum() - Method in interface com.github.javaparser.symbolsolver.model.declarations.EnumDeclaration
 
isEnum() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Is this the declaration of an enum?
isExtends() - Method in class com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration.Bound
Is this an extends bound?
isExtends() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
isField() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Does this declaration represents a class field?
isField() - Method in interface com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration
 
isFunctionalInterface() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ReferenceTypeDeclaration
This means that the type has a functional method.
isInterface() - Method in interface com.github.javaparser.symbolsolver.model.declarations.InterfaceDeclaration
 
isInterface() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Is this the declaration of an interface?
isMethod() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Does this declaration represents a method?
isNull() - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
isNull() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Is this the null type?
isParameter() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Does this declaration represents a method parameter?
isParameter() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ParameterDeclaration
 
isPrimitive() - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
isPrimitive() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
isPrimitive() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Is this a primitive type?
isPrimitive() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
isRawType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
isReference() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Is this a non primitive value?
isReferenceType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
isReferenceType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
isReferenceType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
isReferenceType() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Can this be seen as a ReferenceTypeUsage? In other words: is this a reference to a class, an interface or an enum?
isReferenceType() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
isSolved() - Method in class com.github.javaparser.symbolsolver.model.resolution.SymbolReference
Is the reference solved?
isStatic() - Method in interface com.github.javaparser.symbolsolver.model.declarations.FieldDeclaration
Is the field static?
isStatic() - Method in interface com.github.javaparser.symbolsolver.model.declarations.MethodDeclaration
 
isSuper() - Method in class com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration.Bound
Is this a super bound?
isSuper() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
isType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.Declaration
Does this declaration represents a type?
isType() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
 
isTypeParameter() - Method in interface com.github.javaparser.symbolsolver.model.declarations.TypeDeclaration
Is this the declaration of a type parameter?
isTypeVariable() - Method in class com.github.javaparser.symbolsolver.model.typesystem.NullType
 
isTypeVariable() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
isTypeVariable() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
isTypeVariable() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
isVariadic() - Method in interface com.github.javaparser.symbolsolver.model.declarations.ParameterDeclaration
Is this parameter declared as variadic?
isVoid() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
isVoid() - Method in class com.github.javaparser.symbolsolver.model.typesystem.VoidType
 
isWildcard() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
 
isWildcard() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 

L

LambdaConstraintType - Class in com.github.javaparser.symbolsolver.model.typesystem
 
LambdaConstraintType(Type) - Constructor for class com.github.javaparser.symbolsolver.model.typesystem.LambdaConstraintType
 
LONG - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 

M

MethodAmbiguityException - Exception in com.github.javaparser.symbolsolver.model.declarations
It is not possible to decide how to resolve a method invocation.
MethodAmbiguityException(String) - Constructor for exception com.github.javaparser.symbolsolver.model.declarations.MethodAmbiguityException
Create an instance from a description of the reason why there is ambiguity in this particular case.
MethodDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
A declaration of a method (either in an interface, a class, an enum or an annotation).
MethodLikeDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
This is a common interface for MethodDeclaration and ConstructorDeclaration.
MethodUsage - Class in com.github.javaparser.symbolsolver.model.methods
This is basically a MethodDeclaration with some TypeParameters defined.
MethodUsage(MethodDeclaration) - Constructor for class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
MethodUsage(MethodDeclaration, List<Type>, Type) - Constructor for class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 

N

NullType - Class in com.github.javaparser.symbolsolver.model.typesystem
This is a virtual type used to represent null values.

O

onType(String, String, List<TypeParameterDeclaration.Bound>) - Static method in interface com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration
Instantiate a TypeParameter defined on a Type with the given data.

P

ParameterDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
Declaration of a parameter.
PrimitiveType - Class in com.github.javaparser.symbolsolver.model.typesystem
 

Q

qualifiedName() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 

R

ReferenceType - Class in com.github.javaparser.symbolsolver.model.typesystem
A ReferenceType like a class, an interface or an enum.
ReferenceType(ReferenceTypeDeclaration, TypeSolver) - Constructor for class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
ReferenceType(ReferenceTypeDeclaration, List<Type>, TypeSolver) - Constructor for class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
ReferenceTypeDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
 
replaceAll(Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
replaceParamType(int, Type) - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
replaceReturnType(Type) - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
replaceTypeParameter(TypeParameterDeclaration, Type) - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
replaceTypeVariables(TypeParameterDeclaration, Type, Map<TypeParameterDeclaration, Type>) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
replaceTypeVariables(TypeParameterDeclaration, Type, Map<TypeParameterDeclaration, Type>) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
replaceTypeVariables(TypeParameterDeclaration, Type, Map<TypeParameterDeclaration, Type>) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
Replace all variables referring to the given TypeParameter with the given value.
replaceTypeVariables(TypeParameterDeclaration, Type) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.Type
This is like (Type.replaceTypeVariables(TypeParameterDeclaration, Type, Map) but ignores the inferred values.
replaceTypeVariables(TypeParameterDeclaration, Type, Map<TypeParameterDeclaration, Type>) - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
replaceTypeVariables(TypeParameterDeclaration, Type, Map<TypeParameterDeclaration, Type>) - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
returnType() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 

S

setParent(TypeSolver) - Method in interface com.github.javaparser.symbolsolver.model.resolution.TypeSolver
Set the parent of this TypeSolver.
setValue(TypeParameterDeclaration, Type) - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap.Builder
 
SHORT - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
solved(S2) - Static method in class com.github.javaparser.symbolsolver.model.resolution.SymbolReference
Create a solve reference to the given symbol.
solveType(String) - Method in interface com.github.javaparser.symbolsolver.model.resolution.TypeSolver
Solve the given type.
superBound(Type) - Static method in class com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration.Bound
Create a super bound with the given type:
superBound(Type) - Static method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
SymbolReference<S extends Declaration> - Class in com.github.javaparser.symbolsolver.model.resolution
A reference to a symbol.

T

toBuilder() - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
toString() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
toString() - Method in class com.github.javaparser.symbolsolver.model.resolution.SymbolReference
 
toString() - Method in exception com.github.javaparser.symbolsolver.model.resolution.UnsolvedSymbolException
 
toString() - Method in class com.github.javaparser.symbolsolver.model.resolution.Value
 
toString() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ArrayType
 
toString() - Method in class com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametersMap
 
toString() - Method in class com.github.javaparser.symbolsolver.model.typesystem.PrimitiveType
 
toString() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
toString() - Method in class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 
toString() - Method in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
transform(Type) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.TypeTransformer
 
transformTypeParameters(TypeTransformer) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Execute a transformation on all the type parameters of this element.
tryToSolveType(String) - Method in interface com.github.javaparser.symbolsolver.model.resolution.TypeSolver
Try to solve the type with the given name.
Type - Interface in com.github.javaparser.symbolsolver.model.typesystem
A usage of a type.
TypeDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
A declaration of a type.
typeDeclaration - Variable in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
TypeParameterDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
Declaration of a type parameter.
TypeParameterDeclaration.Bound - Class in com.github.javaparser.symbolsolver.model.declarations
A Bound on a Type Parameter.
typeParametersMap() - Method in class com.github.javaparser.symbolsolver.model.methods.MethodUsage
 
TypeParametersMap - Class in com.github.javaparser.symbolsolver.model.typesystem.parametrization
A map of values associated to TypeParameters.
typeParametersMap() - Method in interface com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParametrized
 
typeParametersMap - Variable in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
typeParametersMap() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
TypeParametersMap.Builder - Class in com.github.javaparser.symbolsolver.model.typesystem.parametrization
 
typeParametersValues() - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
Get the values for all type parameters declared on this type.
TypeParameterValueProvider - Interface in com.github.javaparser.symbolsolver.model.typesystem.parametrization
 
TypeParametrizable - Interface in com.github.javaparser.symbolsolver.model.declarations
An entity which has type parameter.
TypeParametrized - Interface in com.github.javaparser.symbolsolver.model.typesystem.parametrization
Something which can have values for TypeParameters.
typeParamValue(TypeParameterDeclaration) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParameterValueProvider
Calculate the value for the given type parameter.
typeParamValue(TypeParameterDeclaration) - Method in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
TypeSolver - Interface in com.github.javaparser.symbolsolver.model.resolution
An element able to find TypeDeclaration from their name.
typeSolver - Variable in class com.github.javaparser.symbolsolver.model.typesystem.ReferenceType
 
TypeTransformer - Interface in com.github.javaparser.symbolsolver.model.typesystem
 
TypeVariable - Class in com.github.javaparser.symbolsolver.model.typesystem
From JLS 4.4: A type variable is introduced by the declaration of a type parameter of a generic class, interface, method, or constructor (§8.1.2, §9.1.2, §8.4.4, §8.8.4).
TypeVariable(TypeParameterDeclaration) - Constructor for class com.github.javaparser.symbolsolver.model.typesystem.TypeVariable
 

U

UNBOUNDED - Static variable in class com.github.javaparser.symbolsolver.model.typesystem.Wildcard
 
unsolved(Class<S2>) - Static method in class com.github.javaparser.symbolsolver.model.resolution.SymbolReference
Create an unsolved reference specifying the type of the value expected.
UnsolvedSymbolException - Exception in com.github.javaparser.symbolsolver.model.resolution
This exception is thrown when a symbol cannot be resolved.
UnsolvedSymbolException(String, TypeSolver) - Constructor for exception com.github.javaparser.symbolsolver.model.resolution.UnsolvedSymbolException
 
UnsolvedSymbolException(String, String) - Constructor for exception com.github.javaparser.symbolsolver.model.resolution.UnsolvedSymbolException
 
UnsolvedSymbolException(String) - Constructor for exception com.github.javaparser.symbolsolver.model.resolution.UnsolvedSymbolException
 
useThisTypeParametersOnTheGivenType(Type) - Method in interface com.github.javaparser.symbolsolver.model.typesystem.parametrization.TypeParameterValueProvider
Replace the type typeParametersValues present in the given type with the ones for which this type has a value.

V

Value - Class in com.github.javaparser.symbolsolver.model.resolution
Any type of value.
Value(Type, String) - Constructor for class com.github.javaparser.symbolsolver.model.resolution.Value
 
ValueDeclaration - Interface in com.github.javaparser.symbolsolver.model.declarations
Declaration of a value.
valueOf(String) - Static method in enum com.github.javaparser.symbolsolver.model.declarations.AccessLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.javaparser.symbolsolver.model.typesystem.Wildcard.BoundType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.javaparser.symbolsolver.model.declarations.AccessLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.javaparser.symbolsolver.model.typesystem.Wildcard.BoundType
Returns an array containing the constants of this enum type, in the order they are declared.
VoidType - Class in com.github.javaparser.symbolsolver.model.typesystem
The special type void.

W

Wildcard - Class in com.github.javaparser.symbolsolver.model.typesystem
A wildcard can be: - unbounded (?) - have a lower bound (? super Number) - have an upper bound (? extends Number) It is not possible to have both a lower and an upper bound at the same time.
Wildcard.BoundType - Enum in com.github.javaparser.symbolsolver.model.typesystem
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links