public class StatementContext<N extends com.github.javaparser.ast.stmt.Statement> extends AbstractJavaParserContext<N>
typeSolver, wrappedNode| Constructor and Description | 
|---|
| StatementContext(N wrappedNode,
                TypeSolver typeSolver) | 
| Modifier and Type | Method and Description | 
|---|---|
| static SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> | solveInBlock(String name,
            TypeSolver typeSolver,
            com.github.javaparser.ast.stmt.Statement stmt) | 
| static Optional<Value> | solveInBlockAsValue(String name,
                   TypeSolver typeSolver,
                   com.github.javaparser.ast.stmt.Statement stmt) | 
| SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> | solveMethod(String name,
           List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes,
           boolean staticOnly)We find the method declaration which is the best match for the given name and list of typeParametersValues. | 
| SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> | solveSymbol(String name) | 
| Optional<Value> | solveSymbolAsValue(String name) | 
| SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> | solveType(String name) | 
equals, findTypeDeclarations, getParent, getWrappedNode, hashCode, solveGenericType, solveWith, solveWithAsValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveMethodAsUsagepublic StatementContext(N wrappedNode, TypeSolver typeSolver)
public static SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveInBlock(String name, TypeSolver typeSolver, com.github.javaparser.ast.stmt.Statement stmt)
public static Optional<Value> solveInBlockAsValue(String name, TypeSolver typeSolver, com.github.javaparser.ast.stmt.Statement stmt)
public SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedValueDeclaration> solveSymbol(String name)
public SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> argumentsTypes, boolean staticOnly)
Contextpublic SymbolReference<com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration> solveType(String name)
Copyright © 2007–2019. All rights reserved.