| Package | Description |
|---|---|
| org.walkmod.javalang.compiler.actions | |
| org.walkmod.javalang.compiler.reflection | |
| org.walkmod.javalang.compiler.symbols | |
| org.walkmod.javalang.compiler.types |
| Modifier and Type | Method and Description |
|---|---|
void |
LoadTypeParamsAction.load(SymbolTable table,
List<org.walkmod.javalang.ast.TypeParameter> typeParams,
SymbolType thisType) |
void |
LoadTypeParamsAction.recursiveTemplateSubstitution(SymbolType st,
Map<String,SymbolType> typeParamsMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoadTypeParamsAction.recursiveTemplateSubstitution(SymbolType st,
Map<String,SymbolType> typeParamsMap) |
| Modifier and Type | Method and Description |
|---|---|
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter) |
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter,
CompositeBuilder<Constructor<?>> builder,
Map<String,SymbolType> typeMapping) |
static SymbolType |
FieldInspector.findFieldType(SymbolTable symTable,
SymbolType scope,
String fieldName) |
static SymbolType |
MethodInspector.findMethodType(Class<?> clazz,
Class<?>[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping,
boolean throwException) |
static <T extends org.walkmod.javalang.ast.SymbolData> |
MethodInspector.findMethodType(SymbolType scope,
T[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping) |
SymbolType[] |
FunctionalGenericsBuilder.getArgs() |
SymbolType[] |
AbstractCompatibleArgsPredicate.getInferredMethodArgs() |
SymbolType[] |
AbstractCompatibleArgsPredicate.getTypeArgs() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SymbolType> |
GenericBuilderFromGenericClasses.build(Map<String,SymbolType> obj) |
Map<String,SymbolType> |
GenericsBuilderFromArgs.build(Map<String,SymbolType> obj) |
Map<String,SymbolType> |
AbstractCompatibleFunctionalPredicate.createMapping(Class<?> classToInspect,
Type interfaceToInspect,
SymbolType inferredArg,
Class<?> declaringClass) |
Map<String,SymbolType> |
AbstractCompatibleArgsPredicate.getMethodArgsMapping() |
Map<String,SymbolType> |
AbstractGenericsBuilderFromParameterTypes.getTypeMapping() |
Map<String,SymbolType> |
AbstractCompatibleArgsPredicate.getTypeMapping() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,SymbolType> |
AbstractCompatibleFunctionalPredicate.createMapping(Class<?> classToInspect,
Type interfaceToInspect,
SymbolType inferredArg,
Class<?> declaringClass) |
boolean |
AbstractCompatibleFunctionalPredicate.filter(org.walkmod.javalang.ast.expr.LambdaExpr lambda,
Class<?> interfaceToInspect,
Type equivalentTypeToInspect,
SymbolType inferredArg,
Class<?> declaringClass) |
boolean |
AbstractCompatibleFunctionalPredicate.filter(org.walkmod.javalang.ast.expr.MethodReferenceExpr methodRef,
Class<?> interfaceToInspect,
Type equivalentTypeToInspect,
SymbolType inferredArg,
Class<?> declaringClass) |
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter) |
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter) |
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter,
CompositeBuilder<Constructor<?>> builder,
Map<String,SymbolType> typeMapping) |
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter,
CompositeBuilder<Constructor<?>> builder,
Map<String,SymbolType> typeMapping) |
static SymbolType |
FieldInspector.findFieldType(SymbolTable symTable,
SymbolType scope,
String fieldName) |
static <T extends org.walkmod.javalang.ast.SymbolData> |
MethodInspector.findMethodType(SymbolType scope,
T[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping) |
void |
FunctionalGenericsBuilder.setArgs(SymbolType[] args) |
void |
AbstractGenericsBuilderFromParameterTypes.setTypeArgs(SymbolType[] typeArgs) |
void |
AbstractCompatibleArgsPredicate.setTypeArgs(SymbolType[] typeArgs)
Sets the type of the method call arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,SymbolType> |
GenericBuilderFromGenericClasses.build(Map<String,SymbolType> obj) |
Map<String,SymbolType> |
GenericsBuilderFromArgs.build(Map<String,SymbolType> obj) |
static SymbolType |
ConstructorInspector.findConstructor(SymbolType scope,
SymbolType[] args,
ArrayFilter<Constructor<?>> filter,
CompositeBuilder<Constructor<?>> builder,
Map<String,SymbolType> typeMapping) |
static SymbolType |
MethodInspector.findMethodType(Class<?> clazz,
Class<?>[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping,
boolean throwException) |
static <T extends org.walkmod.javalang.ast.SymbolData> |
MethodInspector.findMethodType(SymbolType scope,
T[] args,
ArrayFilter<Method> filter,
CompositeBuilder<Method> builder,
Map<String,SymbolType> typeMapping) |
void |
AbstractCompatibleArgsPredicate.setMethodArgsMapping(Map<String,SymbolType> methodArgsMapping) |
void |
GenericBuilderFromGenericClasses.setParameterizedTypes(List<SymbolType> parameterizedTypes) |
void |
TypeMappingPredicate.setTypeMapping(Map<String,SymbolType> typeMapping) |
void |
SymbolDataOfMethodReferenceBuilder.setTypeMapping(Map<String,SymbolType> typeMapping) |
void |
AbstractGenericsBuilderFromParameterTypes.setTypeMapping(Map<String,SymbolType> typeMapping) |
void |
RequiredMethodSignaturePredicate.setTypeMapping(Map<String,SymbolType> typeMapping) |
void |
AbstractCompatibleFunctionalPredicate.setTypeMapping(Map<String,SymbolType> typeMapping) |
void |
AbstractCompatibleArgsPredicate.setTypeMapping(Map<String,SymbolType> typeMapping) |
void |
TypeMappingBuilder.setTypeMapping(Map<String,SymbolType> typeMapping) |
static void |
ClassInspector.updateTypeMappingOfInterfaceSubclass(Class<?> subclass,
Class<?> interfaceClass,
Map<String,SymbolType> mapping) |
| Constructor and Description |
|---|
AbstractCompatibleArgsPredicate(SymbolType[] typeArgs) |
AbstractCompatibleFunctionalPredicate(SymbolType scope,
org.walkmod.javalang.visitors.VoidVisitor<T> typeResolver,
List<org.walkmod.javalang.ast.expr.Expression> args,
T ctx,
SymbolTable symTable,
AbstractCompatibleArgsPredicate previousPredicate,
SymbolType[] calculatedTypeArgs) |
AbstractCompatibleFunctionalPredicate(SymbolType scope,
org.walkmod.javalang.visitors.VoidVisitor<T> typeResolver,
List<org.walkmod.javalang.ast.expr.Expression> args,
T ctx,
SymbolTable symTable,
AbstractCompatibleArgsPredicate previousPredicate,
SymbolType[] calculatedTypeArgs) |
AbstractGenericsBuilderFromParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType[] typeArgs,
SymbolTable symTable) |
CompatibleArgsPredicate(SymbolType[] typeArgs) |
CompatibleConstructorArgsPredicate(SymbolType[] typeArgs) |
CompatibleFunctionalConstructorPredicate(SymbolType scope,
org.walkmod.javalang.visitors.VoidVisitor<T> typeResolver,
List<org.walkmod.javalang.ast.expr.Expression> args,
T ctx,
SymbolTable symTable,
AbstractCompatibleArgsPredicate previousPredicate,
SymbolType[] calculatedTypeArgs) |
CompatibleFunctionalConstructorPredicate(SymbolType scope,
org.walkmod.javalang.visitors.VoidVisitor<T> typeResolver,
List<org.walkmod.javalang.ast.expr.Expression> args,
T ctx,
SymbolTable symTable,
AbstractCompatibleArgsPredicate previousPredicate,
SymbolType[] calculatedTypeArgs) |
CompatibleFunctionalMethodPredicate(SymbolType scope,
org.walkmod.javalang.visitors.VoidVisitor<T> typeResolver,
List<org.walkmod.javalang.ast.expr.Expression> args,
T ctx,
SymbolTable symTable,
AbstractCompatibleArgsPredicate previousPredicate,
SymbolType[] calculatedTypeArgs) |
CompatibleFunctionalMethodPredicate(SymbolType scope,
org.walkmod.javalang.visitors.VoidVisitor<T> typeResolver,
List<org.walkmod.javalang.ast.expr.Expression> args,
T ctx,
SymbolTable symTable,
AbstractCompatibleArgsPredicate previousPredicate,
SymbolType[] calculatedTypeArgs) |
GenericsBuilderFromClassParameterTypes(Map<String,SymbolType> typeMapping,
SymbolType scope,
SymbolTable symbolTable) |
GenericsBuilderFromConstructorParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType[] typeArgs,
SymbolTable symTable) |
GenericsBuilderFromMethodParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType scope,
SymbolType[] typeArgs,
List<org.walkmod.javalang.ast.type.Type> callArgs,
SymbolTable symbolTable) |
GenericsBuilderFromMethodParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType scope,
SymbolType[] typeArgs,
List<org.walkmod.javalang.ast.type.Type> callArgs,
SymbolTable symbolTable) |
ResultBuilderFromGenerics(SymbolType scope,
Class<?> clazz,
SymbolTable symbolTable) |
ResultBuilderFromGenerics(SymbolType scope,
Method method,
SymbolTable symbolTable) |
| Constructor and Description |
|---|
AbstractGenericsBuilderFromParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType[] typeArgs,
SymbolTable symTable) |
AbstractGenericsBuilderFromParameterTypes(Map<String,SymbolType> typeMapping,
SymbolTable symTable) |
CompatibleLambdaResultPredicate(org.walkmod.javalang.ast.expr.LambdaExpr expr,
org.walkmod.javalang.visitors.VoidVisitor<A> typeResolver,
A ctx,
Map<String,SymbolType> typeMapping,
SymbolTable symTable) |
CompatibleMethodReferencePredicate(org.walkmod.javalang.ast.expr.MethodReferenceExpr expression,
org.walkmod.javalang.visitors.VoidVisitor<A> typeResolver,
A ctx,
Map<String,SymbolType> mapping,
SymbolTable symTable) |
FunctionalGenericsBuilder(Constructor<?> constructor,
org.walkmod.javalang.visitors.VoidVisitor<?> typeResolver,
Map<String,SymbolType> mapping) |
FunctionalGenericsBuilder(Method method,
org.walkmod.javalang.visitors.VoidVisitor<?> typeResolver,
Map<String,SymbolType> mapping) |
GenericBuilderFromGenericClasses(Class<?> clazz,
List<SymbolType> parameterizedTypes) |
GenericsBuilderFromClassParameterTypes(Map<String,SymbolType> typeMapping,
SymbolType scope,
SymbolTable symbolTable) |
GenericsBuilderFromConstructorParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType[] typeArgs,
SymbolTable symTable) |
GenericsBuilderFromMethodParameterTypes(Map<String,SymbolType> typeMapping,
List<org.walkmod.javalang.ast.expr.Expression> args,
SymbolType scope,
SymbolType[] typeArgs,
List<org.walkmod.javalang.ast.type.Type> callArgs,
SymbolTable symbolTable) |
LambdaParamsSymbolDataBuilder(Method method,
org.walkmod.javalang.visitors.VoidVisitor<?> typeResolver,
Map<String,SymbolType> mapping) |
LambdaParamsTypeResolver(org.walkmod.javalang.ast.expr.LambdaExpr expr,
org.walkmod.javalang.visitors.VoidVisitor<?> typeResolver,
Map<String,SymbolType> mapping) |
RequiredMethodSignaturePredicate(CollectionFilter<Class<?>> resultTypeFilters,
List<org.walkmod.javalang.ast.expr.Expression> argumentValues,
Map<String,SymbolType> typeMapping) |
SymbolDataOfMethodReferenceBuilder(Map<String,SymbolType> typeMapping,
org.walkmod.javalang.visitors.VoidVisitor<T> visitor,
T ctxt) |
| Modifier and Type | Method and Description |
|---|---|
static SymbolType |
SymbolType.anonymousClassOf(String name)
Build symbol representing an anonymous class.
|
static SymbolType |
SymbolType.classValueOf(String className,
int arrayCount)
Build a simple class based symbol probably as an array.
|
SymbolType |
SymbolType.clone() |
SymbolType |
SymbolType.cloneAsArray(int arrayCount) |
SymbolType |
SymbolType.cloneAsArray(String name,
int arrayCount) |
static SymbolType |
SymbolType.cloneAsArrayOrNull(SymbolType type,
int arrayCount) |
SymbolType |
SymbolType.cloneAsTypeVariable(String typeVariable) |
static SymbolType |
SymbolType.enumConstantOf(String name)
Build symbol representing an enum constant class.
|
SymbolType[] |
MethodSymbol.getArgs() |
SymbolType |
MethodSymbol.getScope() |
SymbolType |
Symbol.getType() |
SymbolType |
SymbolTable.getType(String symbolName,
ReferenceType... referenceType) |
SymbolType |
SymbolType.markDisabledCode()
If code is disabled via conditional compilation the symbol information
is typically incomplete because no class has been created.
|
SymbolType |
SymbolType.refactor(Map<String,SymbolType> mapping) |
SymbolType |
SymbolType.refactor(Map<String,SymbolType> mapping,
boolean dynamicVar) |
SymbolType |
SymbolType.refactor(String variable,
SymbolType st,
boolean dynamicVar) |
SymbolType |
SymbolType.refactorToTypeVariable(String typeVariable,
SymbolType st,
boolean dynamicVar) |
static SymbolType |
SymbolType.typeVariableOf(String typeVariable,
Class<Object> clazz)
Builds a symbol for a type variable from a Java class.
|
static SymbolType |
SymbolType.typeVariableOf(String typeVariable,
List<SymbolType> upperBounds)
Builds a symbol for a type variable from a list of upper bounds.
|
static SymbolType |
SymbolType.typeVariableOf(String typeVariable,
String name)
Builds a symbol for a type variable from a (Java class) name.
|
static SymbolType |
SymbolType.typeVariableOf(TypeVariable<?> typeVariable)
Builds a symbol for a type variable from a TypeVariable.
|
SymbolType[] |
SymbolTypeResolver.valueOf(List<T> nodes) |
SymbolType[] |
ASTSymbolTypeResolver.valueOf(List<org.walkmod.javalang.ast.type.Type> nodes) |
static SymbolType |
SymbolType.valueOf(Method method,
Map<String,SymbolType> typeMapping) |
SymbolType |
SymbolTypeResolver.valueOf(T node) |
SymbolType |
ASTSymbolTypeResolver.valueOf(org.walkmod.javalang.ast.type.Type parserType) |
SymbolType |
ASTSymbolTypeResolver.valueOf(org.walkmod.javalang.ast.type.Type parserType,
List<org.walkmod.javalang.ast.TypeParameter> tps) |
static SymbolType |
SymbolType.valueOf(Type type,
Map<String,SymbolType> typeMapping) |
static SymbolType |
SymbolType.valueOf(Type type,
SymbolType arg,
Map<String,SymbolType> updatedTypeMapping,
Map<String,SymbolType> typeMapping)
Builds a symbol type from a Java type.
|
SymbolType |
ASTSymbolTypeResolver.visit(org.walkmod.javalang.ast.type.ClassOrInterfaceType type,
List<org.walkmod.javalang.ast.TypeParameter> arg) |
SymbolType |
ASTSymbolTypeResolver.visit(org.walkmod.javalang.ast.type.PrimitiveType n,
List<org.walkmod.javalang.ast.TypeParameter> arg) |
SymbolType |
ASTSymbolTypeResolver.visit(org.walkmod.javalang.ast.type.ReferenceType n,
List<org.walkmod.javalang.ast.TypeParameter> arg) |
SymbolType |
ASTSymbolTypeResolver.visit(org.walkmod.javalang.ast.type.VoidType n,
List<org.walkmod.javalang.ast.TypeParameter> arg) |
SymbolType |
ASTSymbolTypeResolver.visit(org.walkmod.javalang.ast.type.WildcardType n,
List<org.walkmod.javalang.ast.TypeParameter> arg) |
SymbolType |
SymbolType.withName(String name)
Clones replacing the symbol type name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,SymbolType> |
SymbolTable.flat() |
List<SymbolType> |
SymbolType.getBounds() |
Map<String,SymbolType> |
Scope.getLocalTypeParams() |
List<SymbolType> |
SymbolType.getLowerBounds() |
List<SymbolType> |
SymbolType.getParameterizedTypes() |
Map<String,SymbolType> |
Scope.getTypeParams() |
Map<String,SymbolType> |
SymbolTable.getTypeParams() |
List<SymbolType> |
MultiTypeSymbol.getTypes() |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.walkmod.javalang.ast.Node & org.walkmod.javalang.ast.SymbolDefinition> |
Scope.addSymbol(String symbolName,
SymbolType type,
ReferenceType referenceType,
T location) |
<T extends org.walkmod.javalang.ast.Node & org.walkmod.javalang.ast.SymbolDefinition> |
Scope.addSymbol(String symbolName,
SymbolType type,
T location) |
static SymbolType |
SymbolType.cloneAsArrayOrNull(SymbolType type,
int arrayCount) |
Symbol |
DefaultSymbolFactory.create(String symbolName,
ReferenceType referenceType,
SymbolType type,
org.walkmod.javalang.ast.Node location) |
Symbol<?> |
SymbolFactory.create(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location) |
Symbol |
DefaultSymbolFactory.create(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
List<SymbolAction> actions) |
Symbol<?> |
SymbolFactory.create(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
List<SymbolAction> actions) |
Symbol |
DefaultSymbolFactory.create(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
SymbolAction action) |
Symbol<?> |
SymbolFactory.create(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
SymbolAction action) |
Symbol<?> |
Scope.findSymbol(String name,
boolean local,
SymbolType scope,
SymbolType[] args,
List<Predicate<?>> predicates,
ReferenceType... referenceType) |
Symbol<?> |
Scope.findSymbol(String name,
boolean local,
SymbolType scope,
SymbolType[] args,
List<Predicate<?>> predicates,
ReferenceType... referenceType) |
Symbol<?> |
Scope.findSymbol(String name,
SymbolType scope,
SymbolType[] args,
List<Predicate<?>> predicates,
ReferenceType... referenceType) |
Symbol<?> |
Scope.findSymbol(String name,
SymbolType scope,
SymbolType[] args,
List<Predicate<?>> predicates,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.findSymbol(String symbolName,
SymbolType symbolScope,
SymbolType[] args,
List<Predicate<?>> predicates,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.findSymbol(String symbolName,
SymbolType symbolScope,
SymbolType[] args,
List<Predicate<?>> predicates,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.findSymbol(String symbolName,
SymbolType symbolScope,
SymbolType[] args,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.findSymbol(String symbolName,
SymbolType symbolScope,
SymbolType[] args,
ReferenceType... referenceType) |
Symbol |
SymbolGenerator.generateSymbol(SymbolType typeName) |
Symbol |
DefaultSymbolGenerator.generateSymbol(SymbolType typeName) |
boolean |
MethodSymbol.hasCompatibleSignature(SymbolType scope,
SymbolType[] otherArgs) |
boolean |
MethodSymbol.hasCompatibleSignature(SymbolType scope,
SymbolType[] otherArgs) |
boolean |
SymbolType.isCompatible(SymbolType other) |
Symbol<?> |
SymbolTable.lookUpSymbolForRead(String symbolName,
org.walkmod.javalang.ast.SymbolReference reference,
SymbolType symbolScope,
SymbolType[] args,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.lookUpSymbolForRead(String symbolName,
org.walkmod.javalang.ast.SymbolReference reference,
SymbolType symbolScope,
SymbolType[] args,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.lookUpSymbolForWrite(String symbolName,
org.walkmod.javalang.ast.SymbolReference reference,
SymbolType symbolScope,
SymbolType[] args,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.lookUpSymbolForWrite(String symbolName,
org.walkmod.javalang.ast.SymbolReference reference,
SymbolType symbolScope,
SymbolType[] args,
ReferenceType... referenceType) |
Symbol<?> |
SymbolTable.pushSymbol(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location) |
Symbol<?> |
SymbolTable.pushSymbol(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
boolean override) |
Symbol<?> |
SymbolTable.pushSymbol(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
List<SymbolAction> actions) |
Symbol<?> |
SymbolTable.pushSymbol(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
List<SymbolAction> actions,
boolean override) |
Symbol<?> |
SymbolTable.pushSymbol(String symbolName,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
SymbolAction action) |
List<Symbol<?>> |
SymbolTable.pushSymbols(Set<String> names,
ReferenceType referenceType,
SymbolType symbolType,
org.walkmod.javalang.ast.Node location,
List<SymbolAction> actions) |
SymbolType |
SymbolType.refactor(String variable,
SymbolType st,
boolean dynamicVar) |
SymbolType |
SymbolType.refactorToTypeVariable(String typeVariable,
SymbolType st,
boolean dynamicVar) |
void |
Symbol.setType(SymbolType type) |
static SymbolType |
SymbolType.valueOf(Type type,
SymbolType arg,
Map<String,SymbolType> updatedTypeMapping,
Map<String,SymbolType> typeMapping)
Builds a symbol type from a Java type.
|
| Modifier and Type | Method and Description |
|---|---|
MethodSymbol |
MethodSymbol.buildTypeParameters(Map<String,SymbolType> typeParams) |
SymbolType |
SymbolType.refactor(Map<String,SymbolType> mapping) |
SymbolType |
SymbolType.refactor(Map<String,SymbolType> mapping,
boolean dynamicVar) |
void |
SymbolType.setParameterizedTypes(List<SymbolType> parameterizedTypes) |
static SymbolType |
SymbolType.typeVariableOf(String typeVariable,
List<SymbolType> upperBounds)
Builds a symbol for a type variable from a list of upper bounds.
|
static SymbolType |
SymbolType.valueOf(Method method,
Map<String,SymbolType> typeMapping) |
static SymbolType |
SymbolType.valueOf(Type type,
Map<String,SymbolType> typeMapping) |
static SymbolType |
SymbolType.valueOf(Type type,
SymbolType arg,
Map<String,SymbolType> updatedTypeMapping,
Map<String,SymbolType> typeMapping)
Builds a symbol type from a Java type.
|
static SymbolType |
SymbolType.valueOf(Type type,
SymbolType arg,
Map<String,SymbolType> updatedTypeMapping,
Map<String,SymbolType> typeMapping)
Builds a symbol type from a Java type.
|
| Constructor and Description |
|---|
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
boolean staticallyImported,
boolean hasDynamicArgs,
Constructor<?> referencedConstructor) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
boolean staticallyImported,
boolean hasDynamicArgs,
List<SymbolAction> actions,
Constructor<?> referencedConstructor) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
boolean staticallyImported,
boolean hasDynamicArgs,
List<SymbolAction> actions,
Method referencedMethod) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
boolean staticallyImported,
boolean hasDynamicArgs,
Method referencedMethod) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
SymbolType scope,
SymbolType[] args,
boolean staticallyImported,
boolean hasDynamicArgs,
Constructor<?> referencedConstructor,
List<SymbolAction> actions) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
SymbolType scope,
SymbolType[] args,
boolean staticallyImported,
boolean hasDynamicArgs,
Constructor<?> referencedConstructor,
List<SymbolAction> actions) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
SymbolType scope,
SymbolType[] args,
boolean staticallyImported,
boolean hasDynamicArgs,
Method referencedMethod,
List<SymbolAction> actions) |
MethodSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location,
SymbolType scope,
SymbolType[] args,
boolean staticallyImported,
boolean hasDynamicArgs,
Method referencedMethod,
List<SymbolAction> actions) |
MultiTypeSymbol(String name,
SymbolType type,
org.walkmod.javalang.ast.Node location) |
Symbol(String name,
SymbolType type,
T location) |
Symbol(String name,
SymbolType type,
T location,
ReferenceType referenceType) |
Symbol(String name,
SymbolType type,
T location,
ReferenceType referenceType,
boolean staticallyImported,
List<SymbolAction> actions) |
Symbol(String name,
SymbolType type,
T location,
ReferenceType referenceType,
SymbolAction action) |
Symbol(String name,
SymbolType type,
T location,
SymbolAction action) |
| Constructor and Description |
|---|
ASTSymbolTypeResolver(Map<String,SymbolType> mapping,
SymbolTable symbolTable) |
MultiTypeSymbol(String name,
List<SymbolType> types,
org.walkmod.javalang.ast.Node location) |
MultiTypeSymbol(String name,
List<SymbolType> types,
org.walkmod.javalang.ast.Node location,
List<SymbolAction> actions) |
SymbolType(List<SymbolType> upperBounds) |
SymbolType(List<SymbolType> upperBounds,
List<SymbolType> lowerBounds) |
SymbolType(List<SymbolType> upperBounds,
List<SymbolType> lowerBounds) |
SymbolType(String name,
List<SymbolType> upperBounds) |
SymbolType(String name,
List<SymbolType> upperBounds,
List<SymbolType> lowerBounds) |
SymbolType(String name,
List<SymbolType> upperBounds,
List<SymbolType> lowerBounds) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
SymbolTypesClassLoader.loadClass(SymbolType t) |
Copyright © 2018. All rights reserved.