Class MethodCallSite
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.types.internal.infer.PolySite<ExprMirror.InvocationMirror>
-
- net.sourceforge.pmd.lang.java.types.internal.infer.MethodCallSite
-
public class MethodCallSite extends PolySite<ExprMirror.InvocationMirror>
Poly site for an invocation expression. Includes info about an ongoing outer inference process if any, as well as an expected target type. The target type might depend on inference of the outer context, by mentioning free type variables. In that case they're resolved together.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<net.sourceforge.pmd.lang.java.types.internal.infer.MethodResolutionPhase,List<ResolutionFailure>>
getResolutionFailures()
Returns a list of error messages encountered during the inference.boolean
isLogEnabled()
String
toString()
-
-
-
Method Detail
-
isLogEnabled
public boolean isLogEnabled()
-
getResolutionFailures
public Map<net.sourceforge.pmd.lang.java.types.internal.infer.MethodResolutionPhase,List<ResolutionFailure>> getResolutionFailures()
Returns a list of error messages encountered during the inference. For this list to be populated, theInfer
must use aTypeInferenceLogger.SimpleLogger
.Failures in the invocation phase are compile-time errors.
-
toString
public String toString()
- Overrides:
toString
in classPolySite<ExprMirror.InvocationMirror>
-
-