| Package | Description |
|---|---|
| org.eclipse.jdt.internal.compiler.ast | |
| org.eclipse.jdt.internal.compiler.lookup |
| Modifier and Type | Class and Description |
|---|---|
class |
AllocationExpression |
class |
ExplicitConstructorCall |
class |
JavadocAllocationExpression |
class |
JavadocMessageSend |
class |
MessageSend |
class |
QualifiedAllocationExpression
Variation on allocation, where can optionally be specified any of:
- leading enclosing instance
- trailing anonymous type
- generic type arguments for generic constructor invocation
|
| Modifier and Type | Method and Description |
|---|---|
protected MethodBinding |
Statement.findConstructorBinding(BlockScope scope,
Invocation site,
ReferenceBinding receiverType,
TypeBinding[] argumentTypes)
For all constructor invocations: find the constructor binding;
if site.innersNeedUpdate() perform some post processing for those and produce
any updates as side-effects into 'argumentTypes'.
|
static void |
ASTNode.resolvePolyExpressionArguments(Invocation invocation,
MethodBinding methodBinding,
Scope scope) |
static void |
ASTNode.resolvePolyExpressionArguments(Invocation invocation,
MethodBinding methodBinding,
TypeBinding[] argumentTypes,
Scope scope)
After method lookup has produced 'methodBinding' but when poly expressions have been seen as arguments,
inspect the arguments to trigger another round of resolving with improved target types from the methods parameters.
|
| Modifier and Type | Method and Description |
|---|---|
MethodBinding |
Scope.getStaticFactory(ParameterizedTypeBinding allocationType,
ReferenceBinding originalEnclosingType,
TypeBinding[] argumentTypes,
Invocation allocationSite) |
MethodBinding |
InferenceContext18.inferInvocationType(Invocation invocation,
ParameterizedGenericMethodBinding method)
Simplified API to perform Invocation Type Inference (JLS 18.5.2)
and perform subsequent steps: bound check, rebinding of inner poly expressions,
and creating of a problem method binding if needed.
|
void |
InferenceContext18.reportInvalidInvocation(Invocation invocation,
MethodBinding binding) |
Copyright © 2015. All rights reserved.