org.eclipse.jdt.internal.compiler.ast
Class ASTNode

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.ast.ASTNode
All Implemented Interfaces:
TypeConstants, TypeIds
Direct Known Subclasses:
AbstractMethodDeclaration, CompilationUnitDeclaration, ImportReference, Javadoc, JmlClause, JmlGroupName, JmlLoopAnnotations, JmlMapsMemberRefExpr, JmlMemberFieldRef, JmlMethodSpecification, JmlName, JmlSpecCase, JmlSpecCaseBody, JmlSpecCaseHeader, JmlSpecCaseRest, MemberValuePair, Statement

public abstract class ASTNode
extends java.lang.Object
implements TypeConstants, TypeIds


Field Summary
static int Bit1
           
static int Bit10
           
static int Bit11
           
static int Bit12
           
static int Bit13
           
static int Bit14
           
static int Bit15
           
static int Bit16
           
static int Bit17
           
static int Bit18
           
static int Bit19
           
static int Bit2
           
static int Bit20
           
static int Bit21
           
static int Bit22
           
static int Bit23
           
static int Bit24
           
static int Bit25
           
static int Bit26
           
static int Bit27
           
static int Bit28
           
static int Bit29
           
static int Bit3
           
static int Bit30
           
static int Bit31
           
static int Bit32
           
static long Bit32L
           
static long Bit33L
           
static long Bit34L
           
static long Bit35L
           
static long Bit36L
           
static long Bit37L
           
static long Bit38L
           
static long Bit39L
           
static int Bit4
           
static long Bit40L
           
static long Bit41L
           
static long Bit42L
           
static long Bit43L
           
static long Bit44L
           
static long Bit45L
           
static long Bit46L
           
static long Bit47L
           
static long Bit48L
           
static long Bit49L
           
static int Bit5
           
static long Bit50L
           
static long Bit51L
           
static long Bit52L
           
static long Bit53L
           
static long Bit54L
           
static long Bit55L
           
static long Bit56L
           
static long Bit57L
           
static long Bit58L
           
static long Bit59L
           
static int Bit6
           
static long Bit60L
           
static long Bit61L
           
static long Bit62L
           
static long Bit63L
           
static long Bit64L
           
static int Bit7
           
static int Bit8
           
static int Bit9
           
 int bits
           
static int BlockExit
           
static int ContainsAssertion
           
static int DepthMASK
           
static int DepthSHIFT
           
static int DidResolve
           
static int DisableUnnecessaryCastCheck
           
static int DiscardEnclosingInstance
           
static int DocumentedFallthrough
           
static int Empty
           
static int ErrorInSignature
           
static int FirstAssignmentToLocal
           
static int GenerateCheckcast
           
static int HasAbstractMethods
           
static int HasAllMethodBodies
           
static int HasBeenGenerated
           
static int HasBeenResolved
           
static int HasLocalType
           
static int IgnoreNoEffectAssignCheck
           
static int IgnoreRawTypeCheck
           
static int InsideJavadoc
           
static int INVOCATION_ARGUMENT_OK
           
static int INVOCATION_ARGUMENT_UNCHECKED
           
static int INVOCATION_ARGUMENT_WILDCARD
           
static int IsAnnotationDefaultValue
           
static int IsAnonymousType
           
static int IsAnySubRoutineEscaping
           
static int IsCompoundAssigned
           
static int IsDefaultConstructor
           
static int IsElseIfStatement
           
static int IsImplicitThis
           
static int IsImplicitUnit
           
static int IsLocalDeclarationReachable
           
static int IsLocalType
           
static int IsMemberType
           
static int IsNonNull
           
static int IsReachable
           
static int IsRecovered
           
static int IsReturnedValue
           
static int IsSecondaryType
           
static int IsStrictlyAssigned
           
static int IsSubRoutineEscaping
           
static int IsSuperType
           
static int IsSynchronized
           
static int IsTryBlockExiting
           
static int IsUsefulEmptyStatement
           
static int IsVarArgs
           
static int LabelUsed
           
static int NeededScope
           
static int NeedFreeReturn
           
static int OnDemand
           
static int OperatorMASK
           
static int OperatorSHIFT
           
static int OverridingMethodWithSupercall
           
static int ParenthesizedMASK
           
static int ParenthesizedSHIFT
           
static int RestrictiveFlagMASK
           
static int ReturnTypeIDMASK
           
 int sourceEnd
           
 int sourceStart
           
static int SuperAccess
           
static int ThenExit
           
static int UndocumentedEmptyBlock
           
static int UnnecessaryCast
           
static int UnsafeCast
           
static int Used
           
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.lookup.TypeConstants
ANNOTATION, ANNOTATION_PREFIX, ANNOTATION_SUFFIX, ANONYM_PREFIX, ANONYM_SUFFIX, BOOLEAN, BYTE, CHAR, CharArray_JAVA_IO_OBJECTINPUTSTREAM, CharArray_JAVA_IO_OBJECTOUTPUTSTREAM, CharArray_JAVA_IO_OBJECTSTREAMFIELD, CharArray_JAVA_LANG_ANNOTATION_ANNOTATION, CharArray_JAVA_LANG_ENUM, CharArray_JAVA_LANG_OBJECT, CLINIT, CLONE, CONSTRAINT_EQUAL, CONSTRAINT_EXTENDS, CONSTRAINT_SUPER, DOUBLE, FLOAT, GETCLASS, INIT, INT, IO, JAVA, JAVA_IO, JAVA_IO_EXTERNALIZABLE, JAVA_IO_IOEXCEPTION, JAVA_IO_OBJECTINPUTSTREAM, JAVA_IO_OBJECTOUTPUTSTREAM, JAVA_IO_OBJECTSTREAMEXCEPTION, JAVA_IO_PRINTSTREAM, JAVA_IO_SERIALIZABLE, JAVA_LANG, JAVA_LANG_ANNOTATION_ANNOTATION, JAVA_LANG_ANNOTATION_DOCUMENTED, JAVA_LANG_ANNOTATION_ELEMENTTYPE, JAVA_LANG_ANNOTATION_INHERITED, JAVA_LANG_ANNOTATION_RETENTION, JAVA_LANG_ANNOTATION_RETENTIONPOLICY, JAVA_LANG_ANNOTATION_TARGET, JAVA_LANG_ASSERTIONERROR, JAVA_LANG_BOOLEAN, JAVA_LANG_BYTE, JAVA_LANG_CHARACTER, JAVA_LANG_CLASS, JAVA_LANG_CLASSNOTFOUNDEXCEPTION, JAVA_LANG_CLONEABLE, JAVA_LANG_DEPRECATED, JAVA_LANG_DOUBLE, JAVA_LANG_ENUM, JAVA_LANG_ERROR, JAVA_LANG_EXCEPTION, JAVA_LANG_FLOAT, JAVA_LANG_ILLEGALARGUMENTEXCEPTION, JAVA_LANG_INTEGER, JAVA_LANG_ITERABLE, JAVA_LANG_LONG, JAVA_LANG_NOCLASSDEFERROR, JAVA_LANG_OBJECT, JAVA_LANG_OVERRIDE, JAVA_LANG_REFLECT_CONSTRUCTOR, JAVA_LANG_REFLECT_FIELD, JAVA_LANG_REFLECT_METHOD, JAVA_LANG_RUNTIMEEXCEPTION, JAVA_LANG_SHORT, JAVA_LANG_STRING, JAVA_LANG_STRINGBUFFER, JAVA_LANG_STRINGBUILDER, JAVA_LANG_SUPPRESSWARNINGS, JAVA_LANG_SYSTEM, JAVA_LANG_THROWABLE, JAVA_LANG_VOID, JAVA_UTIL_ITERATOR, JML_ANNOTATION, JML_ANNOTATION_CODE_BIGINT_MATH, JML_ANNOTATION_CODE_JAVA_MATH, JML_ANNOTATION_CODE_SAFE_MATH, JML_ANNOTATION_GHOST, JML_ANNOTATION_HELPER, JML_ANNOTATION_INSTANCE, JML_ANNOTATION_MODEL, JML_ANNOTATION_NON_NULL, JML_ANNOTATION_NON_NULL_BY_DEFAULT, JML_ANNOTATION_NULLABLE, JML_ANNOTATION_NULLABLE_BY_DEFAULT, JML_ANNOTATION_PEER, JML_ANNOTATION_PKG, JML_ANNOTATION_PURE, JML_ANNOTATION_READONLY, JML_ANNOTATION_REP, JML_ANNOTATION_SPEC_BIGINT_MATH, JML_ANNOTATION_SPEC_JAVA_MATH, JML_ANNOTATION_SPEC_PROTECTED, JML_ANNOTATION_SPEC_PUBLIC, JML_ANNOTATION_SPEC_SAFE_MATH, JML_ANNOTATION_TYPE_CODE_BIGINT_MATH, JML_ANNOTATION_TYPE_CODE_JAVA_MATH, JML_ANNOTATION_TYPE_CODE_SAFE_MATH, JML_ANNOTATION_TYPE_GHOST, JML_ANNOTATION_TYPE_HELPER, JML_ANNOTATION_TYPE_INSTANCE, JML_ANNOTATION_TYPE_MODEL, JML_ANNOTATION_TYPE_NON_NULL_BY_DEFAULT, JML_ANNOTATION_TYPE_NONNULL, JML_ANNOTATION_TYPE_NULLABLE, JML_ANNOTATION_TYPE_NULLABLE_BY_DEFAULT, JML_ANNOTATION_TYPE_PEER, JML_ANNOTATION_TYPE_PURE, JML_ANNOTATION_TYPE_READONLY, JML_ANNOTATION_TYPE_REP, JML_ANNOTATION_TYPE_SPEC_BIGINT_MATH, JML_ANNOTATION_TYPE_SPEC_JAVA_MATH, JML_ANNOTATION_TYPE_SPEC_PROTECTED, JML_ANNOTATION_TYPE_SPEC_PUBLIC, JML_ANNOTATION_TYPE_SPEC_SAFE_MATH, JML_ANNOTATION_TYPE_UNINITIALIZED, JML_ANNOTATION_UNINITIALIZED, JML_ORG, JML_RUNTIME, JML_RUNTIME_ANNOTATION, JML4, JMLSPECS, LANG, LENGTH, LONG, MAIN, MISMATCH, NULL, OBJECT, OK, PACKAGE_INFO_NAME, READOBJECT, READRESOLVE, REFLECT, SERIALPERSISTENTFIELDS, SERIALVERSIONUID, SHORT, SYNTHETIC_ACCESS_METHOD_PREFIX, SYNTHETIC_ASSERT_DISABLED, SYNTHETIC_CLASS, SYNTHETIC_ENCLOSING_INSTANCE_PREFIX, SYNTHETIC_ENUM_VALUES, SYNTHETIC_OUTER_LOCAL_PREFIX, SYNTHETIC_SWITCH_ENUM_TABLE, TYPE, UNCHECKED, UPPER_ANNOTATION_TYPE, UPPER_CLASS, UPPER_CONSTRUCTOR, UPPER_FIELD, UPPER_LOCAL_VARIABLE, UPPER_METHOD, UPPER_PACKAGE, UPPER_PARAMETER, UPPER_RUNTIME, UPPER_SOURCE, UTIL, VALUE, VALUEOF, VALUES, VOID, WILDCARD_CAPTURE, WILDCARD_CAPTURE_NAME_PREFIX, WILDCARD_CAPTURE_NAME_SUFFIX, WILDCARD_EXTENDS, WILDCARD_MINUS, WILDCARD_NAME, WILDCARD_PLUS, WILDCARD_STAR, WILDCARD_SUPER, WRITEOBJECT, WRITEREPLACE
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.lookup.TypeIds
Boolean2Boolean, Boolean2Int, Boolean2String, BOXING, Byte2Byte, Byte2Char, Byte2Double, Byte2Float, Byte2Int, Byte2Long, Byte2Short, Byte2String, Char2Byte, Char2Char, Char2Double, Char2Float, Char2Int, Char2Long, Char2Short, Char2String, COMPILE_TYPE_MASK, Double2Byte, Double2Char, Double2Double, Double2Float, Double2Int, Double2Long, Double2Short, Double2String, Float2Byte, Float2Char, Float2Double, Float2Float, Float2Int, Float2Long, Float2Short, Float2String, IMPLICIT_CONVERSION_MASK, Int2Byte, Int2Char, Int2Double, Int2Float, Int2Int, Int2Long, Int2Short, Int2String, Long2Byte, Long2Char, Long2Double, Long2Float, Long2Int, Long2Long, Long2Short, Long2String, NoId, Null2String, Object2Object, Object2String, Short2Byte, Short2Char, Short2Double, Short2Float, Short2Int, Short2Long, Short2Short, Short2String, String2String, T_boolean, T_byte, T_char, T_double, T_float, T_int, T_JavaIoException, T_JavaIoExternalizable, T_JavaIoObjectStreamException, T_JavaIoPrintStream, T_JavaIoSerializable, T_JavaLangAnnotationAnnotation, T_JavaLangAnnotationDocumented, T_JavaLangAnnotationElementType, T_JavaLangAnnotationInherited, T_JavaLangAnnotationRetention, T_JavaLangAnnotationRetentionPolicy, T_JavaLangAnnotationTarget, T_JavaLangAssertionError, T_JavaLangBoolean, T_JavaLangByte, T_JavaLangCharacter, T_JavaLangClass, T_JavaLangClassNotFoundException, T_JavaLangCloneable, T_JavaLangDeprecated, T_JavaLangDouble, T_JavaLangEnum, T_JavaLangError, T_JavaLangException, T_JavaLangFloat, T_JavaLangIllegalArgumentException, T_JavaLangInteger, T_JavaLangIterable, T_JavaLangLong, T_JavaLangNoClassDefError, T_JavaLangObject, T_JavaLangOverride, T_JavaLangReflectConstructor, T_JavaLangReflectField, T_JavaLangReflectMethod, T_JavaLangRuntimeException, T_JavaLangShort, T_JavaLangString, T_JavaLangStringBuffer, T_JavaLangStringBuilder, T_JavaLangSuppressWarnings, T_JavaLangSystem, T_JavaLangThrowable, T_JavaLangVoid, T_JavaUtilIterator, T_long, T_null, T_short, T_undefined, T_void, UNBOXING
 
Constructor Summary
ASTNode()
           
 
Method Summary
static void checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite)
           
 ASTNode concreteStatement()
           
 boolean isFieldUseDeprecated(FieldBinding field, Scope scope, boolean isStrictlyAssigned)
           
 boolean isImplicitThis()
           
 boolean isMethodUseDeprecated(MethodBinding method, Scope scope, boolean isExplicitUse)
           
 boolean isSuper()
           
 boolean isThis()
           
 boolean isTypeUseDeprecated(TypeBinding type, Scope scope)
           
abstract  java.lang.StringBuffer print(int indent, java.lang.StringBuffer output)
           
static java.lang.StringBuffer printAnnotations(Annotation[] annotations, java.lang.StringBuffer output)
           
static java.lang.StringBuffer printIndent(int indent, java.lang.StringBuffer output)
           
static java.lang.StringBuffer printModifiers(int modifiers, java.lang.StringBuffer output)
           
static void resolveAnnotations(BlockScope scope, Annotation[] sourceAnnotations, Binding recipient)
          Resolve annotations, and check duplicates, answers combined tagBits for recognized standard annotations
static void resolveDeprecatedAnnotations(BlockScope scope, Annotation[] annotations, Binding recipient)
          Figures if @Deprecated annotation is specified, do not resolve entire annotations.
 int sourceEnd()
           
 int sourceStart()
           
 java.lang.String toString()
           
 void traverse(ASTVisitor visitor, BlockScope scope)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sourceStart

public int sourceStart

sourceEnd

public int sourceEnd

Bit1

public static final int Bit1
See Also:
Constant Field Values

Bit2

public static final int Bit2
See Also:
Constant Field Values

Bit3

public static final int Bit3
See Also:
Constant Field Values

Bit4

public static final int Bit4
See Also:
Constant Field Values

Bit5

public static final int Bit5
See Also:
Constant Field Values

Bit6

public static final int Bit6
See Also:
Constant Field Values

Bit7

public static final int Bit7
See Also:
Constant Field Values

Bit8

public static final int Bit8
See Also:
Constant Field Values

Bit9

public static final int Bit9
See Also:
Constant Field Values

Bit10

public static final int Bit10
See Also:
Constant Field Values

Bit11

public static final int Bit11
See Also:
Constant Field Values

Bit12

public static final int Bit12
See Also:
Constant Field Values

Bit13

public static final int Bit13
See Also:
Constant Field Values

Bit14

public static final int Bit14
See Also:
Constant Field Values

Bit15

public static final int Bit15
See Also:
Constant Field Values

Bit16

public static final int Bit16
See Also:
Constant Field Values

Bit17

public static final int Bit17
See Also:
Constant Field Values

Bit18

public static final int Bit18
See Also:
Constant Field Values

Bit19

public static final int Bit19
See Also:
Constant Field Values

Bit20

public static final int Bit20
See Also:
Constant Field Values

Bit21

public static final int Bit21
See Also:
Constant Field Values

Bit22

public static final int Bit22
See Also:
Constant Field Values

Bit23

public static final int Bit23
See Also:
Constant Field Values

Bit24

public static final int Bit24
See Also:
Constant Field Values

Bit25

public static final int Bit25
See Also:
Constant Field Values

Bit26

public static final int Bit26
See Also:
Constant Field Values

Bit27

public static final int Bit27
See Also:
Constant Field Values

Bit28

public static final int Bit28
See Also:
Constant Field Values

Bit29

public static final int Bit29
See Also:
Constant Field Values

Bit30

public static final int Bit30
See Also:
Constant Field Values

Bit31

public static final int Bit31
See Also:
Constant Field Values

Bit32

public static final int Bit32
See Also:
Constant Field Values

Bit32L

public static final long Bit32L
See Also:
Constant Field Values

Bit33L

public static final long Bit33L
See Also:
Constant Field Values

Bit34L

public static final long Bit34L
See Also:
Constant Field Values

Bit35L

public static final long Bit35L
See Also:
Constant Field Values

Bit36L

public static final long Bit36L
See Also:
Constant Field Values

Bit37L

public static final long Bit37L
See Also:
Constant Field Values

Bit38L

public static final long Bit38L
See Also:
Constant Field Values

Bit39L

public static final long Bit39L
See Also:
Constant Field Values

Bit40L

public static final long Bit40L
See Also:
Constant Field Values

Bit41L

public static final long Bit41L
See Also:
Constant Field Values

Bit42L

public static final long Bit42L
See Also:
Constant Field Values

Bit43L

public static final long Bit43L
See Also:
Constant Field Values

Bit44L

public static final long Bit44L
See Also:
Constant Field Values

Bit45L

public static final long Bit45L
See Also:
Constant Field Values

Bit46L

public static final long Bit46L
See Also:
Constant Field Values

Bit47L

public static final long Bit47L
See Also:
Constant Field Values

Bit48L

public static final long Bit48L
See Also:
Constant Field Values

Bit49L

public static final long Bit49L
See Also:
Constant Field Values

Bit50L

public static final long Bit50L
See Also:
Constant Field Values

Bit51L

public static final long Bit51L
See Also:
Constant Field Values

Bit52L

public static final long Bit52L
See Also:
Constant Field Values

Bit53L

public static final long Bit53L
See Also:
Constant Field Values

Bit54L

public static final long Bit54L
See Also:
Constant Field Values

Bit55L

public static final long Bit55L
See Also:
Constant Field Values

Bit56L

public static final long Bit56L
See Also:
Constant Field Values

Bit57L

public static final long Bit57L
See Also:
Constant Field Values

Bit58L

public static final long Bit58L
See Also:
Constant Field Values

Bit59L

public static final long Bit59L
See Also:
Constant Field Values

Bit60L

public static final long Bit60L
See Also:
Constant Field Values

Bit61L

public static final long Bit61L
See Also:
Constant Field Values

Bit62L

public static final long Bit62L
See Also:
Constant Field Values

Bit63L

public static final long Bit63L
See Also:
Constant Field Values

Bit64L

public static final long Bit64L
See Also:
Constant Field Values

bits

public int bits

ReturnTypeIDMASK

public static final int ReturnTypeIDMASK
See Also:
Constant Field Values

OperatorSHIFT

public static final int OperatorSHIFT
See Also:
Constant Field Values

OperatorMASK

public static final int OperatorMASK
See Also:
Constant Field Values

IsReturnedValue

public static final int IsReturnedValue
See Also:
Constant Field Values

UnnecessaryCast

public static final int UnnecessaryCast
See Also:
Constant Field Values

DisableUnnecessaryCastCheck

public static final int DisableUnnecessaryCastCheck
See Also:
Constant Field Values

GenerateCheckcast

public static final int GenerateCheckcast
See Also:
Constant Field Values

UnsafeCast

public static final int UnsafeCast
See Also:
Constant Field Values

RestrictiveFlagMASK

public static final int RestrictiveFlagMASK
See Also:
Constant Field Values

FirstAssignmentToLocal

public static final int FirstAssignmentToLocal
See Also:
Constant Field Values

IsImplicitThis

public static final int IsImplicitThis
See Also:
Constant Field Values

DepthSHIFT

public static final int DepthSHIFT
See Also:
Constant Field Values

DepthMASK

public static final int DepthMASK
See Also:
Constant Field Values

IsReachable

public static final int IsReachable
See Also:
Constant Field Values

LabelUsed

public static final int LabelUsed
See Also:
Constant Field Values

DocumentedFallthrough

public static final int DocumentedFallthrough
See Also:
Constant Field Values

IsLocalDeclarationReachable

public static final int IsLocalDeclarationReachable
See Also:
Constant Field Values

IsSubRoutineEscaping

public static final int IsSubRoutineEscaping
See Also:
Constant Field Values

IsTryBlockExiting

public static final int IsTryBlockExiting
See Also:
Constant Field Values

ContainsAssertion

public static final int ContainsAssertion
See Also:
Constant Field Values

IsLocalType

public static final int IsLocalType
See Also:
Constant Field Values

IsAnonymousType

public static final int IsAnonymousType
See Also:
Constant Field Values

IsMemberType

public static final int IsMemberType
See Also:
Constant Field Values

HasAbstractMethods

public static final int HasAbstractMethods
See Also:
Constant Field Values

IsSecondaryType

public static final int IsSecondaryType
See Also:
Constant Field Values

HasBeenGenerated

public static final int HasBeenGenerated
See Also:
Constant Field Values

HasLocalType

public static final int HasLocalType
See Also:
Constant Field Values

HasBeenResolved

public static final int HasBeenResolved
See Also:
Constant Field Values

ParenthesizedSHIFT

public static final int ParenthesizedSHIFT
See Also:
Constant Field Values

ParenthesizedMASK

public static final int ParenthesizedMASK
See Also:
Constant Field Values

IgnoreNoEffectAssignCheck

public static final int IgnoreNoEffectAssignCheck
See Also:
Constant Field Values

IsStrictlyAssigned

public static final int IsStrictlyAssigned
See Also:
Constant Field Values

IsCompoundAssigned

public static final int IsCompoundAssigned
See Also:
Constant Field Values

DiscardEnclosingInstance

public static final int DiscardEnclosingInstance
See Also:
Constant Field Values

IsUsefulEmptyStatement

public static final int IsUsefulEmptyStatement
See Also:
Constant Field Values

UndocumentedEmptyBlock

public static final int UndocumentedEmptyBlock
See Also:
Constant Field Values

OverridingMethodWithSupercall

public static final int OverridingMethodWithSupercall
See Also:
Constant Field Values

ErrorInSignature

public static final int ErrorInSignature
See Also:
Constant Field Values

NeedFreeReturn

public static final int NeedFreeReturn
See Also:
Constant Field Values

IsDefaultConstructor

public static final int IsDefaultConstructor
See Also:
Constant Field Values

HasAllMethodBodies

public static final int HasAllMethodBodies
See Also:
Constant Field Values

IsImplicitUnit

public static final int IsImplicitUnit
See Also:
Constant Field Values

InsideJavadoc

public static final int InsideJavadoc
See Also:
Constant Field Values

SuperAccess

public static final int SuperAccess
See Also:
Constant Field Values

Empty

public static final int Empty
See Also:
Constant Field Values

IsElseIfStatement

public static final int IsElseIfStatement
See Also:
Constant Field Values

ThenExit

public static final int ThenExit
See Also:
Constant Field Values

IsSuperType

public static final int IsSuperType
See Also:
Constant Field Values

IsVarArgs

public static final int IsVarArgs
See Also:
Constant Field Values

IgnoreRawTypeCheck

public static final int IgnoreRawTypeCheck
See Also:
Constant Field Values

IsAnnotationDefaultValue

public static final int IsAnnotationDefaultValue
See Also:
Constant Field Values

IsNonNull

public static final int IsNonNull
See Also:
Constant Field Values

NeededScope

public static final int NeededScope
See Also:
Constant Field Values

OnDemand

public static final int OnDemand
See Also:
Constant Field Values

Used

public static final int Used
See Also:
Constant Field Values

DidResolve

public static final int DidResolve
See Also:
Constant Field Values

IsAnySubRoutineEscaping

public static final int IsAnySubRoutineEscaping
See Also:
Constant Field Values

IsSynchronized

public static final int IsSynchronized
See Also:
Constant Field Values

BlockExit

public static final int BlockExit
See Also:
Constant Field Values

IsRecovered

public static final int IsRecovered
See Also:
Constant Field Values

INVOCATION_ARGUMENT_OK

public static final int INVOCATION_ARGUMENT_OK
See Also:
Constant Field Values

INVOCATION_ARGUMENT_UNCHECKED

public static final int INVOCATION_ARGUMENT_UNCHECKED
See Also:
Constant Field Values

INVOCATION_ARGUMENT_WILDCARD

public static final int INVOCATION_ARGUMENT_WILDCARD
See Also:
Constant Field Values
Constructor Detail

ASTNode

public ASTNode()
Method Detail

checkInvocationArguments

public static void checkInvocationArguments(BlockScope scope,
                                            Expression receiver,
                                            TypeBinding receiverType,
                                            MethodBinding method,
                                            Expression[] arguments,
                                            TypeBinding[] argumentTypes,
                                            boolean argsContainCast,
                                            InvocationSite invocationSite)

concreteStatement

public ASTNode concreteStatement()

isFieldUseDeprecated

public final boolean isFieldUseDeprecated(FieldBinding field,
                                          Scope scope,
                                          boolean isStrictlyAssigned)

isImplicitThis

public boolean isImplicitThis()

isMethodUseDeprecated

public final boolean isMethodUseDeprecated(MethodBinding method,
                                           Scope scope,
                                           boolean isExplicitUse)

isSuper

public boolean isSuper()

isThis

public boolean isThis()

isTypeUseDeprecated

public final boolean isTypeUseDeprecated(TypeBinding type,
                                         Scope scope)

print

public abstract java.lang.StringBuffer print(int indent,
                                             java.lang.StringBuffer output)

printAnnotations

public static java.lang.StringBuffer printAnnotations(Annotation[] annotations,
                                                      java.lang.StringBuffer output)

printIndent

public static java.lang.StringBuffer printIndent(int indent,
                                                 java.lang.StringBuffer output)

printModifiers

public static java.lang.StringBuffer printModifiers(int modifiers,
                                                    java.lang.StringBuffer output)

resolveAnnotations

public static void resolveAnnotations(BlockScope scope,
                                      Annotation[] sourceAnnotations,
                                      Binding recipient)
Resolve annotations, and check duplicates, answers combined tagBits for recognized standard annotations


resolveDeprecatedAnnotations

public static void resolveDeprecatedAnnotations(BlockScope scope,
                                                Annotation[] annotations,
                                                Binding recipient)
Figures if @Deprecated annotation is specified, do not resolve entire annotations.


sourceStart

public int sourceStart()

sourceEnd

public int sourceEnd()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

traverse

public void traverse(ASTVisitor visitor,
                     BlockScope scope)