| Package | Description |
|---|---|
| net.sourceforge.pmd.lang.java.ast | |
| net.sourceforge.pmd.lang.java.rule | |
| net.sourceforge.pmd.lang.java.typeresolution |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
JavaParserVisitor.visit(ASTArgumentList node,
java.lang.Object data) |
java.lang.Object |
JavaParserVisitorDecorator.visit(ASTArgumentList node,
java.lang.Object data) |
java.lang.Object |
JavaParserVisitorAdapter.visit(ASTArgumentList node,
java.lang.Object data) |
java.lang.Object |
JavaParserDecoratedVisitor.visit(ASTArgumentList node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
AbstractJavaRule.visit(ASTArgumentList node,
java.lang.Object data) |
| Modifier and Type | Method and Description |
|---|---|
static JavaTypeDefinition |
MethodTypeResolution.getBestMethodReturnType(JavaTypeDefinition context,
java.util.List<MethodType> methods,
ASTArgumentList arguments)
Searches a list of methods by trying the three phases of method overload resolution.
|
static MethodType |
MethodTypeResolution.parameterizeInvocation(JavaTypeDefinition context,
java.lang.reflect.Method method,
ASTArgumentList argList) |
static java.util.List<Constraint> |
MethodTypeResolution.produceInitialConstraints(java.lang.reflect.Method method,
ASTArgumentList argList,
java.util.List<Variable> variables) |
static java.util.List<MethodType> |
MethodTypeResolution.selectMethodsFirstPhase(JavaTypeDefinition context,
java.util.List<MethodType> methodsToSearch,
ASTArgumentList argList)
Look for methods be subtypeability.
|
static java.util.List<MethodType> |
MethodTypeResolution.selectMethodsSecondPhase(java.util.List<MethodType> methodsToSearch,
ASTArgumentList argList)
Look for methods be method conversion.
|
static java.util.List<MethodType> |
MethodTypeResolution.selectMethodsThirdPhase(java.util.List<MethodType> methodsToSearch,
ASTArgumentList argList)
Look for methods considering varargs as well.
|
Copyright © 2002–2017 PMD. All rights reserved.