Package | Description |
---|---|
com.github.javaparser.ast.expr | |
com.github.javaparser.resolution | |
com.github.javaparser.resolution.declarations | |
com.github.javaparser.resolution.logic |
Modifier and Type | Method and Description |
---|---|
ResolvedTypeDeclaration |
ThisExpr.resolve() |
ResolvedTypeDeclaration |
ThisExpr.resolve() |
Modifier and Type | Method and Description |
---|---|
ResolvedTypeDeclaration |
Solver.solveType(Type type) |
ResolvedTypeDeclaration |
Solver.solveType(Type type) |
Modifier and Type | Method and Description |
---|---|
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveType(String name)
Deprecated.
Consider using method
Context.solveType(String, List) that also consider the type arguments.
If you want to keep to use the new function, but keep the same behavior consider passing type
arguments as null . |
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveType(String name)
Deprecated.
Consider using method
Context.solveType(String, List) that also consider the type arguments.
If you want to keep to use the new function, but keep the same behavior consider passing type
arguments as null . |
SymbolReference<? extends ResolvedTypeDeclaration> |
Solver.solveType(String name,
Context context) |
SymbolReference<? extends ResolvedTypeDeclaration> |
Solver.solveType(String name,
Context context) |
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveType(String name,
List<ResolvedType> typeArguments)
Method used to solve a name with an expected list of type arguments.
|
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveType(String name,
List<ResolvedType> typeArguments)
Method used to solve a name with an expected list of type arguments.
|
SymbolReference<? extends ResolvedTypeDeclaration> |
Solver.solveType(String name,
Node node) |
SymbolReference<? extends ResolvedTypeDeclaration> |
Solver.solveType(String name,
Node node) |
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveTypeInParentContext(String name)
Deprecated.
Consider using method
Context.solveTypeInParentContext(String, List) that also consider the type arguments.
If you want to keep to use the new function, but keep the same behavior consider passing type
arguments as null . |
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveTypeInParentContext(String name)
Deprecated.
Consider using method
Context.solveTypeInParentContext(String, List) that also consider the type arguments.
If you want to keep to use the new function, but keep the same behavior consider passing type
arguments as null . |
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveTypeInParentContext(String name,
List<ResolvedType> typeArguments)
Solve a name with type arguments in the parent context.
|
default SymbolReference<ResolvedTypeDeclaration> |
Context.solveTypeInParentContext(String name,
List<ResolvedType> typeArguments)
Solve a name with type arguments in the parent context.
|
SymbolReference<ResolvedTypeDeclaration> |
Solver.solveTypeInType(ResolvedTypeDeclaration typeDeclaration,
String name)
Deprecated.
Similarly to solveType this should eventually disappear as the symbol resolution logic should be more general
and do not be specific to JavaParser classes like in this case.
|
SymbolReference<ResolvedTypeDeclaration> |
Solver.solveTypeInType(ResolvedTypeDeclaration typeDeclaration,
String name)
Deprecated.
Similarly to solveType this should eventually disappear as the symbol resolution logic should be more general
and do not be specific to JavaParser classes like in this case.
|
Modifier and Type | Method and Description |
---|---|
SymbolReference<? extends ResolvedValueDeclaration> |
Solver.solveSymbolInType(ResolvedTypeDeclaration typeDeclaration,
String name)
Solve any possible visible symbols including: fields, internal types, type variables, the type itself or its
containers.
|
SymbolReference<? extends ResolvedValueDeclaration> |
Solver.solveSymbolInType(ResolvedTypeDeclaration typeDeclaration,
String name)
Solve any possible visible symbols including: fields, internal types, type variables, the type itself or its
containers.
|
SymbolReference<ResolvedTypeDeclaration> |
Solver.solveTypeInType(ResolvedTypeDeclaration typeDeclaration,
String name)
Deprecated.
Similarly to solveType this should eventually disappear as the symbol resolution logic should be more general
and do not be specific to JavaParser classes like in this case.
|
SymbolReference<ResolvedTypeDeclaration> |
Solver.solveTypeInType(ResolvedTypeDeclaration typeDeclaration,
String name)
Deprecated.
Similarly to solveType this should eventually disappear as the symbol resolution logic should be more general
and do not be specific to JavaParser classes like in this case.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ResolvedAnnotationDeclaration |
interface |
ResolvedClassDeclaration
Declaration of a Class (not an interface or an enum).
|
interface |
ResolvedEnumDeclaration
Declaration of an Enum.
|
interface |
ResolvedInterfaceDeclaration
An interface declaration.
|
interface |
ResolvedReferenceTypeDeclaration |
interface |
ResolvedTypeParameterDeclaration
Declaration of a type parameter.
|
Modifier and Type | Method and Description |
---|---|
default ResolvedTypeDeclaration |
ResolvedDeclaration.asType()
Return this as a TypeDeclaration or throw an UnsupportedOperationException
|
default ResolvedTypeDeclaration |
ResolvedTypeDeclaration.asType() |
default ResolvedTypeDeclaration |
ResolvedTypeDeclaration.asType() |
default ResolvedTypeDeclaration |
ResolvedDeclaration.asType()
Return this as a TypeDeclaration or throw an UnsupportedOperationException
|
ResolvedTypeDeclaration |
ResolvedFieldDeclaration.declaringType()
The type on which this field has been declared
|
ResolvedTypeDeclaration |
ResolvedFieldDeclaration.declaringType()
The type on which this field has been declared
|
Modifier and Type | Method and Description |
---|---|
static SymbolReference<ResolvedMethodDeclaration> |
MethodResolutionLogic.solveMethodInType(ResolvedTypeDeclaration typeDeclaration,
String name,
List<ResolvedType> argumentsTypes) |
static SymbolReference<ResolvedMethodDeclaration> |
MethodResolutionLogic.solveMethodInType(ResolvedTypeDeclaration typeDeclaration,
String name,
List<ResolvedType> argumentsTypes) |
static SymbolReference<ResolvedMethodDeclaration> |
MethodResolutionLogic.solveMethodInType(ResolvedTypeDeclaration typeDeclaration,
String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly) |
static SymbolReference<ResolvedMethodDeclaration> |
MethodResolutionLogic.solveMethodInType(ResolvedTypeDeclaration typeDeclaration,
String name,
List<ResolvedType> argumentsTypes,
boolean staticOnly) |
Copyright © 2007–2022. All rights reserved.