| 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 method,
TypeBinding[] argumentTypes,
BlockScope 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 |
|---|---|
void |
InferenceContext18.forwardResults(org.eclipse.jdt.internal.compiler.lookup.BoundSet result,
Invocation invocation,
ParameterizedMethodBinding pmb,
TypeBinding targetType) |
void |
CompilationUnitScope.registerInferredInvocation(Invocation invocation) |
Copyright © 2016. All rights reserved.