Klasse ASTNode
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
- Alle implementierten Schnittstellen:
TypeConstants
,TypeIds
- Bekannte direkte Unterklassen:
AbstractMethodDeclaration
,AssistNodeParentAnnotationArrayInitializer
,CompilationUnitDeclaration
,ImportReference
,Javadoc
,MemberValuePair
,ModuleDeclaration
,ModuleReference
,ModuleStatement
,PointcutDesignator
,PseudoToken
,PseudoTokens
,Statement
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeConstants
TypeConstants.BoundCheckStatus, TypeConstants.CloseMethodRecord, TypeConstants.DangerousMethod
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final int
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final int
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final int
static final long
static final long
static final long
static final long
static final long
static final int
static final int
static final int
int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final Argument[]
static final RecordComponent[]
static final TypePattern[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
int
int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeConstants
ANNOTATION, ANNOTATION_PREFIX, ANNOTATION_SUFFIX, ANONYM_PREFIX, ANONYM_SUFFIX, ANONYMOUS_METHOD, APACHE, APACHE_DBUTILS, APACHE_IOUTILS, API, ASSERT_CLASS, ASSERT_FALSE, ASSERT_NOTNULL, ASSERT_NULL, ASSERT_TRUE, ASSERTIONS_CLASS, AUTOMATIC_MODULE_NAME, AUTOWIRED, BEANS, BOOLEAN, BYTE, CAPTURE18, CHANNELS, 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, CharArray_JAVA_LANG_RECORD, CharArray_JAVA_LANG_RECORD_SLASH, CHECK_ARGUMENT, CHECK_NOT_NULL, CHECK_STATE, CLINIT, CLONE, CLOSE, CLOSE_QUIETLY, closeMethods, COM, COM_GOOGLE_COMMON_BASE_PRECONDITIONS, COM_GOOGLE_INJECT_INJECT, COMMONS, COMPILER, CONSTRAINT_EQUAL, CONSTRAINT_EXTENDS, CONSTRAINT_SUPER, CONTAINS, CONTAINS_ALL, CONTAINS_KEY, CONTAINS_VALUE, CORE, DEFAULT_LOCATION__ARRAY_CONTENTS, DEFAULT_LOCATION__FIELD, DEFAULT_LOCATION__PARAMETER, DEFAULT_LOCATION__RETURN_TYPE, DEFAULT_LOCATION__TYPE_ARGUMENT, DEFAULT_LOCATION__TYPE_BOUND, DEFAULT_LOCATION__TYPE_PARAMETER, DESERIALIZE_LAMBDA, DOM, DOUBLE, ECLIPSE, EQUALS, ESSENTIAL_API, FACTORY, FLOAT, FLUENT_RESOURCE_CLASSES, FOR_REMOVAL, FRAMEWORK, GET, GETCLASS, GOOGLE, GUAVA_CLOSEABLES, HASHCODE, IMPLEMENTS, INDEX_OF, INIT, INJECT_PACKAGE, INJECT_TYPE, INT, INTERNAL, INVOKE, IO, IS_INSTANCE, IS_NOTNULL, IS_NULL, IS_TRUE, ITYPEBINDING, JAVA, JAVA_BASE, JAVA_IO, JAVA_IO_CLOSEABLE, JAVA_IO_EXTERNALIZABLE, JAVA_IO_IOEXCEPTION, JAVA_IO_OBJECTINPUTSTREAM, JAVA_IO_OBJECTOUTPUTSTREAM, JAVA_IO_OBJECTSTREAMEXCEPTION, JAVA_IO_PRINTSTREAM, JAVA_IO_RESOURCE_FREE_CLOSEABLES, JAVA_IO_SERIALIZABLE, JAVA_IO_WRAPPER_CLOSEABLES, JAVA_LANG, JAVA_LANG_ANNOTATION, JAVA_LANG_ANNOTATION_ANNOTATION, JAVA_LANG_ANNOTATION_DOCUMENTED, JAVA_LANG_ANNOTATION_ELEMENTTYPE, JAVA_LANG_ANNOTATION_INHERITED, JAVA_LANG_ANNOTATION_REPEATABLE, JAVA_LANG_ANNOTATION_RETENTION, JAVA_LANG_ANNOTATION_RETENTIONPOLICY, JAVA_LANG_ANNOTATION_TARGET, JAVA_LANG_ASSERTIONERROR, JAVA_LANG_AUTOCLOSEABLE, 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_FUNCTIONAL_INTERFACE, JAVA_LANG_ILLEGALARGUMENTEXCEPTION, JAVA_LANG_INCOMPATIBLECLASSCHANGEERROR, JAVA_LANG_INTEGER, JAVA_LANG_INVOKE_LAMBDAMETAFACTORY, JAVA_LANG_INVOKE_METHODHANDLE, JAVA_LANG_INVOKE_METHODHANDLE_$_POLYMORPHICSIGNATURE, JAVA_LANG_INVOKE_METHODHANDLE_POLYMORPHICSIGNATURE, JAVA_LANG_INVOKE_METHODHANDLES, JAVA_LANG_INVOKE_SERIALIZEDLAMBDA, JAVA_LANG_INVOKE_VARHANDLE, JAVA_LANG_ITERABLE, JAVA_LANG_LONG, JAVA_LANG_NOCLASSDEFERROR, JAVA_LANG_NOSUCHFIELDERROR, JAVA_LANG_OBJECT, JAVA_LANG_OVERRIDE, JAVA_LANG_RECORD, JAVA_LANG_REFLECT_CONSTRUCTOR, JAVA_LANG_REFLECT_FIELD, JAVA_LANG_REFLECT_METHOD, JAVA_LANG_RUNTIME_OBJECTMETHODS, JAVA_LANG_RUNTIME_SWITCHBOOTSTRAPS, JAVA_LANG_RUNTIMEEXCEPTION, JAVA_LANG_SAFEVARARGS, 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_NIO_FILE_FILES, JAVA_UTIL_ARRAYS, JAVA_UTIL_COLLECTION, JAVA_UTIL_ITERATOR, JAVA_UTIL_LIST, JAVA_UTIL_MAP, JAVA_UTIL_OBJECTS, JAVA_UTIL_STREAM, JAVA_UTIL_ZIP_WRAPPER_CLOSEABLES, JAVAC, JAVAX, JAVAX_ANNOTATION_INJECT_INJECT, JAVAX_RMI_CORBA_STUB, JDK, JDK_INTERNAL_JAVAC_PREVIEW_FEATURE, JDK_INTERNAL_PREVIEW_FEATURE, JDK_INTERNAL_VALUEBASED, JDT, JUNIT, JUNIT_FRAMEWORK_ASSERT, JUPITER, KEYWORD_EXTENDS, LAMBDA_TYPE, LANG, LANG3, LAST_INDEX_OF, LENGTH, LONG, LOOKUP, MAIN, META_INF_MANIFEST_MF, METHOD_SOURCE, MODULE_INFO_CLASS_NAME, MODULE_INFO_CLASS_NAME_STRING, MODULE_INFO_FILE_NAME, MODULE_INFO_FILE_NAME_STRING, MODULE_INFO_NAME, MODULE_INFO_NAME_STRING, NEXT, NIO, NON_NULL, NOT_NULL, NULL, OBJECT, ONE_UTIL_STREAMEX, OPTIONAL, ORG, ORG_APACHE_COMMONS_LANG_VALIDATE, ORG_APACHE_COMMONS_LANG3_VALIDATE, ORG_ECLIPSE_CORE_RUNTIME_ASSERT, ORG_ECLIPSE_JDT_CORE_DOM_ITYPEBINDING, ORG_ECLIPSE_JDT_INTERNAL_COMPILER_LOOKUP_TYPEBINDING, ORG_JUNIT_ASSERT, ORG_JUNIT_JUPITER_API_ASSERTIONS, ORG_JUNIT_METHOD_SOURCE, ORG_SPRING_AUTOWIRED, OTHER_WRAPPER_CLOSEABLES, PACKAGE_INFO_NAME, PARAMS, PERMITS, PROVIDER, READOBJECT, READRESOLVE, RECORD_CLASS, RECORD_RESTRICTED_IDENTIFIER, REFLECT, REMOVE, REMOVE_ALL, REQUIRE_NON_NULL, REQUIRED, RESOURCE_FREE_CLOSEABLE_J_U_STREAMS, RESOURCE_FREE_CLOSEABLE_STREAMEX, RETAIN_ALL, RUNTIME, SEALED, SERIALPERSISTENTFIELDS, SERIALVERSIONUID, SHORT, SINCE, SPRING, SYNTHETIC_ACCESS_METHOD_PREFIX, SYNTHETIC_ASSERT_DISABLED, SYNTHETIC_CLASS, SYNTHETIC_ENCLOSING_INSTANCE_PREFIX, SYNTHETIC_ENUM_CONSTANT_INITIALIZATION_METHOD_PREFIX, SYNTHETIC_ENUM_VALUES, SYNTHETIC_OUTER_LOCAL_PREFIX, SYNTHETIC_STATIC_FACTORY, SYNTHETIC_SWITCH_ENUM_TABLE, TOSTRING, TYPE, TYPE_PARAMETER_TARGET, TYPE_USE_TARGET, TYPEBINDING, UPPER_ANNOTATION_TYPE, UPPER_CLASS, UPPER_CONSTRUCTOR, UPPER_FIELD, UPPER_LOCAL_VARIABLE, UPPER_METHOD, UPPER_MODULE, UPPER_PACKAGE, UPPER_PARAMETER, UPPER_RECORD_COMPONENT, UPPER_RUNTIME, UPPER_SOURCE, UTIL, VALIDATE_CLASS, VALUE, VALUEOF, VALUES, VAR, VOID, WILDCARD_CAPTURE, WILDCARD_CAPTURE_NAME_PREFIX, WILDCARD_CAPTURE_NAME_SUFFIX, WILDCARD_CAPTURE_SIGNABLE_NAME_SUFFIX, WILDCARD_EXTENDS, WILDCARD_MINUS, WILDCARD_NAME, WILDCARD_PLUS, WILDCARD_STAR, WILDCARD_SUPER, WRITEOBJECT, WRITEREPLACE, YIELD, ZIP
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeIds
BitAnyNullAnnotation, BitAutoCloseable, BitCloseable, BitCollection, BitList, BitMap, BitNonNullAnnotation, BitNonNullByDefaultAnnotation, BitNullableAnnotation, BitResourceFreeCloseable, BitUninitialized, BitUninternedType, BitWrapperCloseable, 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, InheritableBits, Int2Byte, Int2Char, Int2Double, Int2Float, Int2Int, Int2Long, Int2Short, Int2String, Long2Byte, Long2Char, Long2Double, Long2Float, Long2Int, Long2Long, Long2Short, Long2String, NoId, Null2Null, Null2String, Object2boolean, Object2byte, Object2char, Object2double, Object2float, Object2int, Object2long, Object2Object, Object2short, Object2String, Short2Byte, Short2Char, Short2Double, Short2Float, Short2Int, Short2Long, Short2Short, Short2String, String2String, T_boolean, T_byte, T_char, T_ComGoogleCommonBasePreconditions, T_ComGoogleInjectInject, 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_JavaLangAnnotationRepeatable, T_JavaLangAnnotationRetention, T_JavaLangAnnotationRetentionPolicy, T_JavaLangAnnotationTarget, T_JavaLangAssertionError, T_JavaLangAutoCloseable, 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_JavaLangFunctionalInterface, T_JavaLangIllegalArgumentException, T_JavaLangInteger, T_JavaLangInvokeMethodHandlePolymorphicSignature, T_JavaLangIterable, T_JavaLangLong, T_JavaLangNoClassDefError, T_JavaLangObject, T_JavaLangOverride, T_JavaLangRecord, T_JavaLangReflectConstructor, T_JavaLangReflectField, T_JavaLangReflectMethod, T_JavaLangRuntimeException, T_JavaLangSafeVarargs, T_JavaLangShort, T_JavaLangString, T_JavaLangStringBuffer, T_JavaLangStringBuilder, T_JavaLangSuppressWarnings, T_JavaLangSystem, T_JavaLangThrowable, T_JavaLangVoid, T_JavaUtilCollection, T_JavaUtilIterator, T_JavaUtilList, T_JavaUtilMap, T_JavaUtilObjects, T_JavaxInjectInject, T_JdkInternalPreviewFeature, T_JunitFrameworkAssert, T_LastWellKnownTypeId, T_long, T_null, T_OrgApacheCommonsLang3Validate, T_OrgApacheCommonsLangValidate, T_OrgEclipseCoreRuntimeAssert, T_OrgJunitAssert, T_OrgJunitJupiterApiAssertions, T_OrgJunitJupiterParamsProviderMethodSource, T_OrgSpringframeworkBeansFactoryAnnotationAutowired, T_short, T_undefined, T_void, UNBOXING
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
acceptPotentiallyCompatibleMethods
(MethodBinding[] methods) boolean
static boolean
checkInvocationArguments
(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite) static Annotation[]
copyRecordComponentAnnotations
(Scope scope, Binding recipient, Annotation[] annotations) static void
copySE8AnnotationsToType
(BlockScope scope, Binding recipient, Annotation[] annotations, boolean annotatingEnumerator) static Annotation[]
getRelevantAnnotations
(Annotation[] annotations, long rcMask, List<AnnotationBinding> relevantAnnotations) static void
handleNonNullByDefault
(BlockScope scope, Annotation[] sourceAnnotations, LocalDeclaration localDeclaration) "early" handling of NonNullByDefault because for local variables annotations are resolved after their type because of bug 96991.final boolean
isFieldUseDeprecated
(FieldBinding field, Scope scope, int filteredBits) boolean
final boolean
isMethodUseDeprecated
(MethodBinding method, Scope scope, boolean isExplicitUse, InvocationSite invocation) boolean
boolean
isSuper()
boolean
isThis()
boolean
isType()
Returns whether this node represents a binding of typeBinding.TYPE
final boolean
isTypeUseDeprecated
(TypeBinding type, Scope scope) boolean
abstract StringBuffer
print
(int indent, StringBuffer output) static StringBuffer
printAnnotations
(Annotation[] annotations, StringBuffer output) static StringBuffer
printIndent
(int indent, StringBuffer output) static StringBuffer
printModifiers
(int modifiers, StringBuffer output) boolean
static TypeBinding
resolveAnnotations
(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type) Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.static void
resolveAnnotations
(BlockScope scope, Annotation[] sourceAnnotations, Binding recipient) static AnnotationBinding[]
resolveAnnotations
(BlockScope scope, Annotation[] sourceAnnotations, Binding recipient, boolean copySE8AnnotationsToType) 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.static MethodBinding
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.int
int
toString()
void
traverse
(ASTVisitor visitor, BlockScope scope)
-
Felddetails
-
sourceStart
public int sourceStart -
sourceEnd
public int sourceEnd -
Bit1
public static final int Bit1- Siehe auch:
-
Bit2
public static final int Bit2- Siehe auch:
-
Bit3
public static final int Bit3- Siehe auch:
-
Bit4
public static final int Bit4- Siehe auch:
-
Bit5
public static final int Bit5- Siehe auch:
-
Bit6
public static final int Bit6- Siehe auch:
-
Bit7
public static final int Bit7- Siehe auch:
-
Bit8
public static final int Bit8- Siehe auch:
-
Bit9
public static final int Bit9- Siehe auch:
-
Bit10
public static final int Bit10- Siehe auch:
-
Bit11
public static final int Bit11- Siehe auch:
-
Bit12
public static final int Bit12- Siehe auch:
-
Bit13
public static final int Bit13- Siehe auch:
-
Bit14
public static final int Bit14- Siehe auch:
-
Bit15
public static final int Bit15- Siehe auch:
-
Bit16
public static final int Bit16- Siehe auch:
-
Bit17
public static final int Bit17- Siehe auch:
-
Bit18
public static final int Bit18- Siehe auch:
-
Bit19
public static final int Bit19- Siehe auch:
-
Bit20
public static final int Bit20- Siehe auch:
-
Bit21
public static final int Bit21- Siehe auch:
-
Bit22
public static final int Bit22- Siehe auch:
-
Bit23
public static final int Bit23- Siehe auch:
-
Bit24
public static final int Bit24- Siehe auch:
-
Bit25
public static final int Bit25- Siehe auch:
-
Bit26
public static final int Bit26- Siehe auch:
-
Bit27
public static final int Bit27- Siehe auch:
-
Bit28
public static final int Bit28- Siehe auch:
-
Bit29
public static final int Bit29- Siehe auch:
-
Bit30
public static final int Bit30- Siehe auch:
-
Bit31
public static final int Bit31- Siehe auch:
-
Bit32
public static final int Bit32- Siehe auch:
-
Bit32L
public static final long Bit32L- Siehe auch:
-
Bit33L
public static final long Bit33L- Siehe auch:
-
Bit34L
public static final long Bit34L- Siehe auch:
-
Bit35L
public static final long Bit35L- Siehe auch:
-
Bit36L
public static final long Bit36L- Siehe auch:
-
Bit37L
public static final long Bit37L- Siehe auch:
-
Bit38L
public static final long Bit38L- Siehe auch:
-
Bit39L
public static final long Bit39L- Siehe auch:
-
Bit40L
public static final long Bit40L- Siehe auch:
-
Bit41L
public static final long Bit41L- Siehe auch:
-
Bit42L
public static final long Bit42L- Siehe auch:
-
Bit43L
public static final long Bit43L- Siehe auch:
-
Bit44L
public static final long Bit44L- Siehe auch:
-
Bit45L
public static final long Bit45L- Siehe auch:
-
Bit46L
public static final long Bit46L- Siehe auch:
-
Bit47L
public static final long Bit47L- Siehe auch:
-
Bit48L
public static final long Bit48L- Siehe auch:
-
Bit49L
public static final long Bit49L- Siehe auch:
-
Bit50L
public static final long Bit50L- Siehe auch:
-
Bit51L
public static final long Bit51L- Siehe auch:
-
Bit52L
public static final long Bit52L- Siehe auch:
-
Bit53L
public static final long Bit53L- Siehe auch:
-
Bit54L
public static final long Bit54L- Siehe auch:
-
Bit55L
public static final long Bit55L- Siehe auch:
-
Bit56L
public static final long Bit56L- Siehe auch:
-
Bit57L
public static final long Bit57L- Siehe auch:
-
Bit58L
public static final long Bit58L- Siehe auch:
-
Bit59L
public static final long Bit59L- Siehe auch:
-
Bit60L
public static final long Bit60L- Siehe auch:
-
Bit61L
public static final long Bit61L- Siehe auch:
-
Bit62L
public static final long Bit62L- Siehe auch:
-
Bit63L
public static final long Bit63L- Siehe auch:
-
Bit64L
public static final long Bit64L- Siehe auch:
-
bits
public int bits -
ReturnTypeIDMASK
public static final int ReturnTypeIDMASK- Siehe auch:
-
OperatorSHIFT
public static final int OperatorSHIFT- Siehe auch:
-
OperatorMASK
public static final int OperatorMASK- Siehe auch:
-
IsReturnedValue
public static final int IsReturnedValue- Siehe auch:
-
UnnecessaryCast
public static final int UnnecessaryCast- Siehe auch:
-
DisableUnnecessaryCastCheck
public static final int DisableUnnecessaryCastCheck- Siehe auch:
-
GenerateCheckcast
public static final int GenerateCheckcast- Siehe auch:
-
UnsafeCast
public static final int UnsafeCast- Siehe auch:
-
RestrictiveFlagMASK
public static final int RestrictiveFlagMASK- Siehe auch:
-
IsTypeElided
public static final int IsTypeElided- Siehe auch:
-
IsArgument
public static final int IsArgument- Siehe auch:
-
IsLocalDeclarationReachable
public static final int IsLocalDeclarationReachable- Siehe auch:
-
IsForeachElementVariable
public static final int IsForeachElementVariable- Siehe auch:
-
ShadowsOuterLocal
public static final int ShadowsOuterLocal- Siehe auch:
-
IsAdditionalDeclarator
public static final int IsAdditionalDeclarator- Siehe auch:
-
FirstAssignmentToLocal
public static final int FirstAssignmentToLocal- Siehe auch:
-
NeedReceiverGenericCast
public static final int NeedReceiverGenericCast- Siehe auch:
-
IsImplicitThis
public static final int IsImplicitThis- Siehe auch:
-
DepthSHIFT
public static final int DepthSHIFT- Siehe auch:
-
DepthMASK
public static final int DepthMASK- Siehe auch:
-
IsCapturedOuterLocal
public static final int IsCapturedOuterLocal- Siehe auch:
-
IsUsedInPatternGuard
public static final int IsUsedInPatternGuard- Siehe auch:
-
IsSecretYieldValueUsage
public static final int IsSecretYieldValueUsage- Siehe auch:
-
IsReachable
public static final int IsReachable- Siehe auch:
-
LabelUsed
public static final int LabelUsed- Siehe auch:
-
DocumentedFallthrough
public static final int DocumentedFallthrough- Siehe auch:
-
DocumentedCasesOmitted
public static final int DocumentedCasesOmitted- Siehe auch:
-
IsSubRoutineEscaping
public static final int IsSubRoutineEscaping- Siehe auch:
-
IsTryBlockExiting
public static final int IsTryBlockExiting- Siehe auch:
-
ContainsAssertion
public static final int ContainsAssertion- Siehe auch:
-
IsLocalType
public static final int IsLocalType- Siehe auch:
-
IsAnonymousType
public static final int IsAnonymousType- Siehe auch:
-
IsMemberType
public static final int IsMemberType- Siehe auch:
-
HasAbstractMethods
public static final int HasAbstractMethods- Siehe auch:
-
IsSecondaryType
public static final int IsSecondaryType- Siehe auch:
-
HasBeenGenerated
public static final int HasBeenGenerated- Siehe auch:
-
HasLocalType
public static final int HasLocalType- Siehe auch:
-
HasBeenResolved
public static final int HasBeenResolved- Siehe auch:
-
ParenthesizedSHIFT
public static final int ParenthesizedSHIFT- Siehe auch:
-
ParenthesizedMASK
public static final int ParenthesizedMASK- Siehe auch:
-
IgnoreNoEffectAssignCheck
public static final int IgnoreNoEffectAssignCheck- Siehe auch:
-
IsStrictlyAssigned
public static final int IsStrictlyAssigned- Siehe auch:
-
IsCompoundAssigned
public static final int IsCompoundAssigned- Siehe auch:
-
DiscardEnclosingInstance
public static final int DiscardEnclosingInstance- Siehe auch:
-
Unchecked
public static final int Unchecked- Siehe auch:
-
ResolveJavadoc
public static final int ResolveJavadoc- Siehe auch:
-
IsUsefulEmptyStatement
public static final int IsUsefulEmptyStatement- Siehe auch:
-
UndocumentedEmptyBlock
public static final int UndocumentedEmptyBlock- Siehe auch:
-
OverridingMethodWithSupercall
public static final int OverridingMethodWithSupercall- Siehe auch:
-
CanBeStatic
public static final int CanBeStatic- Siehe auch:
-
ErrorInSignature
public static final int ErrorInSignature- Siehe auch:
-
NeedFreeReturn
public static final int NeedFreeReturn- Siehe auch:
-
IsDefaultConstructor
public static final int IsDefaultConstructor- Siehe auch:
-
IsCanonicalConstructor
public static final int IsCanonicalConstructor- Siehe auch:
-
IsImplicit
public static final int IsImplicit- Siehe auch:
-
HasAllMethodBodies
public static final int HasAllMethodBodies- Siehe auch:
-
IsImplicitUnit
public static final int IsImplicitUnit- Siehe auch:
-
InsideJavadoc
public static final int InsideJavadoc- Siehe auch:
-
SuperAccess
public static final int SuperAccess- Siehe auch:
-
Empty
public static final int Empty- Siehe auch:
-
IsElseIfStatement
public static final int IsElseIfStatement- Siehe auch:
-
ThenExit
public static final int ThenExit- Siehe auch:
-
IsElseStatementUnreachable
public static final int IsElseStatementUnreachable- Siehe auch:
-
IsThenStatementUnreachable
public static final int IsThenStatementUnreachable- Siehe auch:
-
IsSuperType
public static final int IsSuperType- Siehe auch:
-
IsVarArgs
public static final int IsVarArgs- Siehe auch:
-
IgnoreRawTypeCheck
public static final int IgnoreRawTypeCheck- Siehe auch:
-
IsAnnotationDefaultValue
public static final int IsAnnotationDefaultValue- Siehe auch:
-
IsNonNull
public static final int IsNonNull- Siehe auch:
-
NeededScope
public static final int NeededScope- Siehe auch:
-
OnDemand
public static final int OnDemand- Siehe auch:
-
Used
public static final int Used- Siehe auch:
-
inModule
public static final int inModule- Siehe auch:
-
DidResolve
public static final int DidResolve- Siehe auch:
-
IsAnySubRoutineEscaping
public static final int IsAnySubRoutineEscaping- Siehe auch:
-
IsSynchronized
public static final int IsSynchronized- Siehe auch:
-
BlockExit
public static final int BlockExit- Siehe auch:
-
IsRecovered
public static final int IsRecovered- Siehe auch:
-
HasSyntaxErrors
public static final int HasSyntaxErrors- Siehe auch:
-
INVOCATION_ARGUMENT_OK
public static final int INVOCATION_ARGUMENT_OK- Siehe auch:
-
INVOCATION_ARGUMENT_UNCHECKED
public static final int INVOCATION_ARGUMENT_UNCHECKED- Siehe auch:
-
INVOCATION_ARGUMENT_WILDCARD
public static final int INVOCATION_ARGUMENT_WILDCARD- Siehe auch:
-
HasTypeAnnotations
public static final int HasTypeAnnotations- Siehe auch:
-
IsUnionType
public static final int IsUnionType- Siehe auch:
-
IsDiamond
public static final int IsDiamond- Siehe auch:
-
InsideExpressionStatement
public static final int InsideExpressionStatement- Siehe auch:
-
IsSynthetic
public static final int IsSynthetic- Siehe auch:
-
HasFunctionalInterfaceTypes
public static final int HasFunctionalInterfaceTypes- Siehe auch:
-
NO_ARGUMENTS
-
NO_RECORD_COMPONENTS
-
NO_TYPE_PATTERNS
-
-
Konstruktordetails
-
ASTNode
public ASTNode()
-
-
Methodendetails
-
checkInvocationArguments
public static boolean checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite) -
concreteStatement
-
isFieldUseDeprecated
-
isImplicitThis
public boolean isImplicitThis() -
receiverIsImplicitThis
public boolean receiverIsImplicitThis() -
isMethodUseDeprecated
public final boolean isMethodUseDeprecated(MethodBinding method, Scope scope, boolean isExplicitUse, InvocationSite invocation) -
isSuper
public boolean isSuper() -
isQualifiedSuper
public boolean isQualifiedSuper() -
isThis
public boolean isThis() -
isUnqualifiedSuper
public boolean isUnqualifiedSuper() -
isTypeUseDeprecated
-
isType
public boolean isType()Returns whether this node represents a binding of typeBinding.TYPE
- Gibt zurück:
true
if the node represents aBinding.TYPE
binding type.
-
print
-
printAnnotations
-
printIndent
-
printModifiers
-
resolvePolyExpressionArguments
public static MethodBinding 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. If this resolving produces better types for any arguments, update the 'argumentTypes' array in-place as an intended side effect that will feed better type information in checkInvocationArguments() and others.- Parameter:
invocation
- the outer invocation which is being resolvedmethod
- the method produced by lookup (possibly involving type inference).argumentTypes
- the argument types as collected from first resolving the invocation arguments and as used for the method lookup.scope
- scope for resolution.- Gibt zurück:
- either the original method or a problem method
-
resolveAnnotations
public static void resolveAnnotations(BlockScope scope, Annotation[] sourceAnnotations, Binding recipient) -
resolveAnnotations
public static AnnotationBinding[] resolveAnnotations(BlockScope scope, Annotation[] sourceAnnotations, Binding recipient, boolean copySE8AnnotationsToType) Resolve annotations, and check duplicates, answers combined tagBits for recognized standard annotations. Return null if nothing new is resolved. -
resolveAnnotations
public static TypeBinding resolveAnnotations(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type) Resolve JSR308 annotations on a type reference, array creation expression or a wildcard. Type parameters go directly to the subroutine, By construction the bindings associated with QTR, PQTR etc get resolved first and then annotations for different levels get resolved and applied at one go. Likewise for multidimensional arrays. -
handleNonNullByDefault
public static void handleNonNullByDefault(BlockScope scope, Annotation[] sourceAnnotations, LocalDeclaration localDeclaration) "early" handling of NonNullByDefault because for local variables annotations are resolved after their type because of bug 96991.- Parameter:
localDeclaration
-
-
copySE8AnnotationsToType
public static void copySE8AnnotationsToType(BlockScope scope, Binding recipient, Annotation[] annotations, boolean annotatingEnumerator) -
getRelevantAnnotations
public static Annotation[] getRelevantAnnotations(Annotation[] annotations, long rcMask, List<AnnotationBinding> relevantAnnotations) -
copyRecordComponentAnnotations
public static Annotation[] copyRecordComponentAnnotations(Scope scope, Binding recipient, Annotation[] annotations) -
resolveDeprecatedAnnotations
public static void resolveDeprecatedAnnotations(BlockScope scope, Annotation[] annotations, Binding recipient) Figures if @Deprecated annotation is specified, do not resolve entire annotations. -
checkingPotentialCompatibility
public boolean checkingPotentialCompatibility() -
acceptPotentiallyCompatibleMethods
-
sourceStart
public int sourceStart() -
sourceEnd
public int sourceEnd() -
toString
-
traverse
-