| Modifier and Type | Method and Description |
|---|---|
ASTNode |
ASTNode.concreteStatement() |
ASTNode |
LabeledStatement.concreteStatement() |
ASTNode |
Javadoc.getNodeStartingAt(int start) |
| Modifier and Type | Method and Description |
|---|---|
static void |
FakedTrackingVariable.handleResourceAssignment(BlockScope scope,
FlowInfo upstreamInfo,
FlowInfo flowInfo,
FlowContext flowContext,
ASTNode location,
Expression rhs,
LocalVariableBinding local)
Check if the rhs of an assignment or local declaration is an (Auto)Closeable.
|
String |
FakedTrackingVariable.nameForReporting(ASTNode location,
ReferenceContext referenceContext) |
static void |
FakedTrackingVariable.preConnectTrackerAcrossAssignment(ASTNode location,
LocalVariableBinding local,
Expression rhs,
FlowInfo flowInfo)
Before analyzing an assignment of this shape:
singleName = new Allocation()
connect any tracking variable of the LHS with the allocation on the RHS. |
void |
FakedTrackingVariable.recordErrorLocation(ASTNode location,
int nullStatus) |
int |
FakedTrackingVariable.reportError(ProblemReporter problemReporter,
ASTNode location,
int nullStatus) |
| Constructor and Description |
|---|
FakedTrackingVariable(LocalVariableBinding original,
ASTNode location,
FlowInfo flowInfo,
FlowContext flowContext,
int nullStatus) |
| Modifier and Type | Method and Description |
|---|---|
void |
CodeStream.generateOuterAccess(Object[] mappingSequence,
ASTNode invocationSite,
Binding target,
Scope scope) |
void |
StackMapFrameCodeStream.generateOuterAccess(Object[] mappingSequence,
ASTNode invocationSite,
Binding target,
Scope scope) |
void |
CodeStream.generateSyntheticEnclosingInstanceValues(BlockScope currentScope,
ReferenceBinding targetType,
Expression enclosingInstance,
ASTNode invocationSite)
Code responsible to generate the suitable code to supply values for the synthetic enclosing
instance arguments of a constructor invocation of a nested type.
|
void |
CodeStream.generateSyntheticOuterArgumentValues(BlockScope currentScope,
ReferenceBinding targetType,
ASTNode invocationSite)
Code responsible to generate the suitable code to supply values for the synthetic outer local
variable arguments of a constructor invocation of a nested type.
|
| Modifier and Type | Field and Description |
|---|---|
ASTNode |
FlowContext.associatedNode |
ASTNode[] |
InitializationFlowContext.exceptionThrowers |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowContext.checkExceptionHandlers(TypeBinding[] raisedExceptions,
ASTNode location,
FlowInfo flowInfo,
BlockScope scope) |
void |
FlowContext.checkExceptionHandlers(TypeBinding raisedException,
ASTNode location,
FlowInfo flowInfo,
BlockScope scope) |
void |
FlowContext.checkExceptionHandlers(TypeBinding raisedException,
ASTNode location,
FlowInfo flowInfo,
BlockScope scope,
boolean isExceptionOnAutoClose) |
boolean |
LoopingFlowContext.recordExitAgainstResource(BlockScope scope,
FlowInfo flowInfo,
FakedTrackingVariable trackingVar,
ASTNode reference)
Record the fact that we see an early exit (in 'reference') while 'trackingVar' is in scope and may be unclosed.
|
boolean |
FlowContext.recordExitAgainstResource(BlockScope scope,
FlowInfo flowInfo,
FakedTrackingVariable trackingVar,
ASTNode reference)
Record that we found an early exit from a method while a resource is in scope.
|
void |
InitializationFlowContext.recordHandlingException(ReferenceBinding exceptionType,
UnconditionalFlowInfo flowInfo,
TypeBinding raisedException,
TypeBinding caughtException,
ASTNode invocationSite,
boolean wasMasked) |
void |
ExceptionHandlingFlowContext.recordHandlingException(ReferenceBinding exceptionType,
UnconditionalFlowInfo flowInfo,
TypeBinding raisedException,
TypeBinding caughtException,
ASTNode invocationSite,
boolean wasAlreadyDefinitelyCaught) |
protected void |
LoopingFlowContext.recordNullReference(LocalVariableBinding local,
ASTNode expression,
int checkType) |
protected void |
FlowContext.recordNullReference(LocalVariableBinding local,
ASTNode location,
int checkType)
Record a null reference for use by deferred checks.
|
protected void |
FinallyFlowContext.recordNullReference(LocalVariableBinding local,
ASTNode expression,
int checkType) |
void |
LoopingFlowContext.recordUsingNullReference(Scope scope,
LocalVariableBinding local,
ASTNode location,
int checkType,
FlowInfo flowInfo) |
void |
FlowContext.recordUsingNullReference(Scope scope,
LocalVariableBinding local,
ASTNode location,
int checkType,
FlowInfo flowInfo)
Record a null reference for use by deferred checks.
|
void |
FinallyFlowContext.recordUsingNullReference(Scope scope,
LocalVariableBinding local,
ASTNode location,
int checkType,
FlowInfo flowInfo) |
| Constructor and Description |
|---|
ExceptionHandlingFlowContext(FlowContext parent,
ASTNode associatedNode,
ReferenceBinding[] handledExceptions,
FlowContext initializationParent,
BlockScope scope,
UnconditionalFlowInfo flowInfo) |
FinallyFlowContext(FlowContext parent,
ASTNode associatedNode,
ExceptionHandlingFlowContext tryContext) |
FlowContext(FlowContext parent,
ASTNode associatedNode) |
InitializationFlowContext(FlowContext parent,
ASTNode associatedNode,
FlowInfo initsBeforeContext,
FlowContext initializationParent,
BlockScope scope) |
InsideSubRoutineFlowContext(FlowContext parent,
ASTNode associatedNode) |
LabelFlowContext(FlowContext parent,
ASTNode associatedNode,
char[] labelName,
BranchLabel breakLabel,
BlockScope scope) |
LoopingFlowContext(FlowContext parent,
FlowInfo upstreamNullFlowInfo,
ASTNode associatedNode,
BranchLabel breakLabel,
BranchLabel continueLabel,
Scope associatedScope,
boolean isPreTest) |
SwitchFlowContext(FlowContext parent,
ASTNode associatedNode,
BranchLabel breakLabel,
boolean isPreTest) |
TryFlowContext(FlowContext parent,
ASTNode associatedNode) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SourceTypeBinding.checkRedundantNullnessDefaultOne(ASTNode location,
Annotation[] annotations,
long annotationTagBits) |
protected void |
LocalTypeBinding.checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long annotationTagBits) |
protected void |
NestedTypeBinding.checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long annotationTagBits) |
protected void |
SourceTypeBinding.checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long annotationTagBits) |
void |
BlockScope.checkUnclosedCloseables(FlowInfo flowInfo,
FlowContext flowContext,
ASTNode location,
BlockScope locationScope)
At the end of a block check the closing-status of all tracked closeables that are declared in this block.
|
protected boolean |
Scope.hasErasedCandidatesCollisions(TypeBinding one,
TypeBinding two,
Map invocations,
ReferenceBinding type,
ASTNode typeRef) |
protected void |
ImplicitNullAnnotationVerifier.recordDeferredInheritedNullness(Scope scope,
ASTNode location,
MethodBinding inheritedMethod,
Boolean inheritedNonNullness,
org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier.InheritedNonNullnessInfo nullnessInfo) |
| Constructor and Description |
|---|
InvocationSite.EmptyWithAstNode(ASTNode node) |
| Modifier and Type | Field and Description |
|---|---|
protected ASTNode[] |
Parser.astStack |
protected ASTNode[] |
Parser.genericsStack |
| Modifier and Type | Method and Description |
|---|---|
ASTNode[] |
Parser.parseClassBodyDeclarations(char[] source,
int offset,
int length,
CompilationUnitDeclaration unit) |
ASTNode |
RecoveredMethod.parseTree() |
ASTNode |
RecoveredLocalVariable.parseTree() |
ASTNode |
RecoveredUnit.parseTree() |
ASTNode |
RecoveredElement.parseTree() |
ASTNode |
RecoveredType.parseTree() |
ASTNode |
RecoveredStatement.parseTree() |
ASTNode |
RecoveredBlock.parseTree() |
ASTNode |
RecoveredImport.parseTree() |
ASTNode |
RecoveredAnnotation.parseTree() |
ASTNode |
RecoveredField.parseTree() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Parser.pushOnAstStack(ASTNode node) |
protected void |
Parser.pushOnGenericsStack(ASTNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProblemReporter.abortDueToInternalError(String errorMessage,
ASTNode location) |
void |
ProblemReporter.alreadyDefinedLabel(char[] labelName,
ASTNode location) |
void |
ProblemReporter.boundCannotBeArray(ASTNode location,
TypeBinding type) |
void |
ProblemReporter.boundMustBeAnInterface(ASTNode location,
TypeBinding type) |
void |
ProblemReporter.cannotAssignToFinalField(FieldBinding field,
ASTNode location) |
void |
ProblemReporter.cannotAssignToFinalLocal(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.cannotAssignToFinalOuterLocal(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.cannotReferToNonFinalOuterLocal(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.cannotReturnInInitializer(ASTNode location) |
void |
ProblemReporter.cannotThrowNull(ASTNode expression) |
void |
ProblemReporter.cannotThrowType(ASTNode exception,
TypeBinding expectedType) |
void |
ProblemReporter.cannotUseSuperInJavaLangObject(ASTNode reference) |
void |
ProblemReporter.conflictingInheritedNullAnnotations(ASTNode location,
boolean previousIsNonNull,
MethodBinding previousInherited,
boolean isNonNull,
MethodBinding inheritedMethod) |
void |
ProblemReporter.conflictingNullAnnotations(MethodBinding currentMethod,
ASTNode location,
MethodBinding inheritedMethod) |
void |
ProblemReporter.deprecatedField(FieldBinding field,
ASTNode location) |
void |
ProblemReporter.deprecatedMethod(MethodBinding method,
ASTNode location) |
void |
ProblemReporter.deprecatedType(TypeBinding type,
ASTNode location) |
void |
ProblemReporter.deprecatedType(TypeBinding type,
ASTNode location,
int index) |
void |
ProblemReporter.diamondNotBelow17(ASTNode location) |
void |
ProblemReporter.diamondNotBelow17(ASTNode location,
int index) |
void |
ProblemReporter.duplicateBounds(ASTNode location,
TypeBinding type) |
void |
ProblemReporter.duplicateDefaultCase(ASTNode statement) |
void |
ProblemReporter.duplicateInitializationOfFinalLocal(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.enumStaticFieldUsedDuringInitialization(FieldBinding field,
ASTNode location) |
void |
ProblemReporter.errorThisSuperInStatic(ASTNode reference) |
void |
ProblemReporter.expressionNullReference(ASTNode location) |
void |
ProblemReporter.expressionPotentialNullReference(ASTNode location) |
void |
ProblemReporter.fakeReachable(ASTNode location) |
void |
ProblemReporter.forbiddenReference(FieldBinding field,
ASTNode location,
byte classpathEntryType,
String classpathEntryName,
int problemId) |
void |
ProblemReporter.forbiddenReference(MethodBinding method,
ASTNode location,
byte classpathEntryType,
String classpathEntryName,
int problemId) |
void |
ProblemReporter.forbiddenReference(TypeBinding type,
ASTNode location,
byte classpathEntryType,
String classpathEntryName,
int problemId) |
void |
ProblemReporter.forwardTypeVariableReference(ASTNode location,
TypeVariableBinding type) |
void |
ProblemReporter.hiddenCatchBlock(ReferenceBinding exceptionType,
ASTNode location) |
void |
ProblemReporter.illegalAccessFromTypeVariable(TypeVariableBinding variable,
ASTNode location) |
void |
ProblemReporter.illegalClassLiteralForTypeVariable(TypeVariableBinding variable,
ASTNode location) |
void |
ProblemReporter.illegalGenericArray(TypeBinding leafComponentType,
ASTNode location) |
void |
ProblemReporter.illegalInstanceOfGenericType(TypeBinding checkedType,
ASTNode location) |
void |
ProblemReporter.illegalPrimitiveOrArrayTypeForEnclosingInstance(TypeBinding enclosingType,
ASTNode location) |
void |
ProblemReporter.illegalVoidExpression(ASTNode location) |
void |
ProblemReporter.incorrectArityForParameterizedType(ASTNode location,
TypeBinding type,
TypeBinding[] argumentTypes) |
void |
ProblemReporter.incorrectArityForParameterizedType(ASTNode location,
TypeBinding type,
TypeBinding[] argumentTypes,
int index) |
void |
ProblemReporter.indirectAccessToStaticField(ASTNode location,
FieldBinding field) |
void |
ProblemReporter.indirectAccessToStaticMethod(ASTNode location,
MethodBinding method) |
void |
ProblemReporter.inheritedMethodsHaveIncompatibleReturnTypes(ASTNode location,
MethodBinding[] inheritedMethods,
int length) |
void |
ProblemReporter.invalidBreak(ASTNode location) |
void |
ProblemReporter.invalidContinue(ASTNode location) |
void |
ProblemReporter.invalidExplicitConstructorCall(ASTNode location) |
void |
ProblemReporter.invalidParameterizedExceptionType(TypeBinding exceptionType,
ASTNode location) |
void |
ProblemReporter.invalidParenthesizedExpression(ASTNode reference) |
void |
ProblemReporter.invalidType(ASTNode location,
TypeBinding type) |
void |
ProblemReporter.invalidTypeVariableAsException(TypeBinding exceptionType,
ASTNode location) |
void |
ProblemReporter.javadocDeprecatedField(FieldBinding field,
ASTNode location,
int modifiers) |
void |
ProblemReporter.javadocDeprecatedMethod(MethodBinding method,
ASTNode location,
int modifiers) |
void |
ProblemReporter.javadocDeprecatedType(TypeBinding type,
ASTNode location,
int modifiers) |
void |
ProblemReporter.javadocDeprecatedType(TypeBinding type,
ASTNode location,
int modifiers,
int index) |
void |
ProblemReporter.javadocInvalidType(ASTNode location,
TypeBinding type,
int modifiers) |
void |
ProblemReporter.localVariableNonNullComparedToNull(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariableNullComparedToNonNull(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariableNullInstanceof(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariableNullReference(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariablePotentialNullReference(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariableRedundantCheckOnNonNull(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariableRedundantCheckOnNull(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.localVariableRedundantNullAssignment(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.messageSendPotentialNullReference(MethodBinding method,
ASTNode location) |
void |
ProblemReporter.messageSendRedundantCheckOnNonNull(MethodBinding method,
ASTNode location) |
void |
ProblemReporter.missingTypeInConstructor(ASTNode location,
MethodBinding constructor) |
void |
ProblemReporter.multiCatchNotBelow17(ASTNode node) |
void |
ProblemReporter.needImplementation(ASTNode location) |
void |
ProblemReporter.needToEmulateFieldAccess(FieldBinding field,
ASTNode location,
boolean isReadAccess) |
void |
ProblemReporter.needToEmulateMethodAccess(MethodBinding method,
ASTNode location) |
void |
ProblemReporter.noMoreAvailableSpaceForArgument(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.noMoreAvailableSpaceForLocal(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.nonExternalizedStringLiteral(ASTNode location) |
void |
ProblemReporter.nonGenericTypeCannotBeParameterized(int index,
ASTNode location,
TypeBinding type,
TypeBinding[] argumentTypes) |
void |
ProblemReporter.nonStaticAccessToStaticField(ASTNode location,
FieldBinding field) |
void |
ProblemReporter.nonStaticAccessToStaticField(ASTNode location,
FieldBinding field,
int index) |
void |
ProblemReporter.nonStaticAccessToStaticMethod(ASTNode location,
MethodBinding method) |
void |
ProblemReporter.noSuchEnclosingInstance(TypeBinding targetType,
ASTNode location,
boolean isConstructorCall) |
void |
ProblemReporter.nullDefaultAnnotationIsRedundant(ASTNode location,
Annotation[] annotations,
Binding outer) |
void |
ProblemReporter.nullUnboxing(ASTNode expression,
TypeBinding boxType) |
void |
ProblemReporter.parameterAssignment(LocalVariableBinding local,
ASTNode location) |
void |
ProblemReporter.parameterizedMemberTypeMissingArguments(ASTNode location,
TypeBinding type,
int index) |
void |
ProblemReporter.polymorphicMethodNotBelow17(ASTNode node) |
void |
ProblemReporter.potentiallyUnclosedCloseable(FakedTrackingVariable trackVar,
ASTNode location) |
void |
ProblemReporter.potentialNullUnboxing(ASTNode expression,
TypeBinding boxType) |
void |
ProblemReporter.rawMemberTypeCannotBeParameterized(ASTNode location,
ReferenceBinding type,
TypeBinding[] argumentTypes) |
void |
ProblemReporter.rawTypeReference(ASTNode location,
TypeBinding type) |
void |
ProblemReporter.redundantSpecificationOfTypeArguments(ASTNode location,
TypeBinding[] argumentTypes) |
void |
ProblemReporter.shouldReturn(TypeBinding returnType,
ASTNode location) |
void |
ProblemReporter.staticFieldAccessToNonStaticVariable(ASTNode location,
FieldBinding field) |
void |
ProblemReporter.staticMemberOfParameterizedType(ASTNode location,
ReferenceBinding type,
int index) |
void |
ProblemReporter.stringConstantIsExceedingUtf8Limit(ASTNode location) |
void |
ProblemReporter.superinterfacesCollide(TypeBinding type,
ASTNode decl,
TypeBinding superType,
TypeBinding inheritedSuperType) |
void |
ProblemReporter.tooManyDimensions(ASTNode expression) |
void |
ProblemReporter.typeMismatchError(TypeBinding actualType,
TypeBinding expectedType,
ASTNode location,
ASTNode expectingLocation) |
void |
ProblemReporter.typeMismatchError(TypeBinding typeArgument,
TypeVariableBinding typeParameter,
ReferenceBinding genericType,
ASTNode location) |
void |
ProblemReporter.unclosedCloseable(FakedTrackingVariable trackVar,
ASTNode location) |
void |
ProblemReporter.unhandledException(TypeBinding exceptionType,
ASTNode location) |
void |
ProblemReporter.unhandledExceptionFromAutoClose(TypeBinding exceptionType,
ASTNode location) |
void |
ProblemReporter.uninitializedBlankFinalField(FieldBinding field,
ASTNode location) |
void |
ProblemReporter.uninitializedLocalVariable(LocalVariableBinding binding,
ASTNode location) |
void |
ProblemReporter.uninitializedNonNullField(FieldBinding field,
ASTNode location) |
void |
ProblemReporter.unnecessaryElse(ASTNode location) |
void |
ProblemReporter.unreachableCatchBlock(ReferenceBinding exceptionType,
ASTNode location) |
void |
ProblemReporter.unsafeGenericArrayForVarargs(TypeBinding leafComponentType,
ASTNode location) |
void |
ProblemReporter.unsafeRawFieldAssignment(FieldBinding field,
TypeBinding expressionType,
ASTNode location) |
void |
ProblemReporter.unsafeRawGenericMethodInvocation(ASTNode location,
MethodBinding rawMethod,
TypeBinding[] argumentTypes) |
void |
ProblemReporter.unsafeRawInvocation(ASTNode location,
MethodBinding rawMethod) |
void |
ProblemReporter.unusedDeclaredThrownException(ReferenceBinding exceptionType,
AbstractMethodDeclaration method,
ASTNode location) |
void |
AbortCompilation.updateContext(ASTNode astNode,
CompilationResult unitResult) |
void |
ProblemReporter.wildcardAssignment(TypeBinding variableType,
TypeBinding expressionType,
ASTNode location) |
void |
ProblemReporter.wildcardInvocation(ASTNode location,
TypeBinding receiverType,
MethodBinding method,
TypeBinding[] arguments) |
Copyright © 2013. All rights reserved.