Klasse ReferenceBinding
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
- Bekannte direkte Unterklassen:
IntersectionTypeBinding18,ParameterizedTypeBinding,ProblemReferenceBinding,SourceTypeBinding,TypeVariableBinding,UnresolvedReferenceBinding,WildcardBinding
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungchar[][]static final ReferenceBindingintprotected static ProblemMethodBindingprotected MethodBinding[]char[]Von Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
BOOLEAN, BYTE, CHAR, DOUBLE, extendedTagBits, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, TYPE_USE_BINDING, typeAnnotations, VOIDVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationsForTrueValue, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, INTERSECTION_TYPE18, LOCAL, METHOD, MODULE, NO_ANNOTATIONS, NO_COMPONENTS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_MODULES, NO_NULL_DEFAULT, NO_PACKAGES, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_PERMITTEDTYPES, NO_PLAIN_PACKAGES, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, PATTERN, POLY_TYPE, RAW_TYPE, RECORD_COMPONENT, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_COMPONENTS, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanUsed to implement this sentence from o.e.j.annotation.DefaultLocation: "Wildcards and the use of type variables are always excluded from NonNullByDefault."protected voidappendNullAnnotation(StringBuffer nameBuffer, CompilerOptions options) protected intprotected intReturn the array of resolvable fields (resilience)Return the array of resolvable methods (resilience)static FieldBindingbinarySearch(char[] name, FieldBinding[] sortedFields) static longbinarySearch(char[] selector, MethodBinding[] sortedMethods) Returns a combined range value representing: (start + (endUngültige Eingabe: "<"Ungültige Eingabe: "<"32)), where start is the index of the first matching method (remember methods are sorted alphabetically on selectors), and end is the index of last contiguous methods with same selectorbooleanAnswer true if the receiver can be instantiatedbooleancanBeSeenBy(PackageBinding invocationPackage) Answer true if the receiver is visible to the invocationPackage.booleancanBeSeenBy(ReferenceBinding receiverType, ReferenceBinding invocationType) Answer true if the receiver is visible to the receiverType and the invocationType.booleancanBeSeenBy(Scope scope) Answer true if the receiver is visible to the type provided by the scope.char[]computeGenericTypeSignature(TypeVariableBinding[] typeVariables) voidvoidcomputeId(LookupEnvironment environment) char[]computeUniqueKey(boolean isLeaf) p.XUngültige Eingabe: "<"T extends Y Ungültige Eingabe: "&" I, U extends Y> {} -> Lp/XUngültige Eingabe: "<"TT;TU;>;char[]Answer the receiver's constant pool name.intdepth()booleandownwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform a downwards type projection as per JLS 4.10.5final ReferenceBindingenclosingTypeAt(int relativeDepth) intintfields()final intlongCompute the tagbits for standard annotations.getComponent(char[] componentName, boolean needResolve) intgetExactConstructor(TypeBinding[] argumentTypes) getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) getField(char[] fieldName, boolean needResolve) getField(char[] fieldName, boolean resolve, InvocationSite site, Scope scope) Where multiple fields with the same name are defined, this will return the one most visible one...char[]protected MethodBinding[]getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) getMemberType(char[] typeName) Find the member type with the given simple typeName.getMethods(char[] selector) getMethods(char[] selector, int suggestedParameterLength) intgetRecordComponent(char[] name) getRecordComponentAccessor(char[] name) Get the accessor method given the record component namegetSingleAbstractMethod(Scope scope, boolean replaceWildcards) Return the single abstract method of a functional interface, or one ofnullorsamProblemBinding, if the receiver is not a functional interface as defined in JLS 9.8.getTypeVariable(char[] variableName) booleaninthashCode()booleanbooleanhasIncompatibleSuperType(ReferenceBinding otherType) Returns true if the two types have an incompatible common supertype, e.g.booleanprotected booleanhasMethodWithNumArgs(char[] selector, int numArgs) booleanhasNullBit(int mask) Query typeBits without triggering supertype lookup.final booleanbooleanimplementsInterface(ReferenceBinding anInterface, boolean searchHierarchy) Answer true if the receiver implements anInterface or is identical to anInterface.final booleaninnerCanBeSeenBy(ReferenceBinding receiverType, ReferenceBinding invocationType) final booleaninnerCanBeSeenBy(Scope scope) final booleanAnswer true if the receiver is an abstract typebooleanfinal booleanbooleanisClass()booleanisCompatibleWith(TypeBinding otherType, Scope captureScope) Answer true if the receiver type can be assigned to the argument type (right) In addition to improving performance, caching also ensures there is no infinite regression since per nature, the compatibility check is recursive through parameterized type arguments (122775)static booleanisConsistentIntersection(TypeBinding[] intersectingTypes) final booleanAnswer true if the receiver has default visibilityfinal booleanAnswer true if the receiver is a deprecated typebooleanisEnum()protected booleanfinal booleanisFinal()Answer true if the receiver is final and cannot be subclassedbooleanisFunctionalInterface(Scope scope) booleanReturns true if the type hierarchy is being connected "actively" i.e not paused momentatrily, while resolving type arguments.booleanReturns true if the type hierarchy is being connectedbooleanReturns true if the type hierarchy is connectedbooleanbooleanisNestmateOf(ReferenceBinding other) final booleanAnswer true if the receiver has non-sealed modifierfinal booleanAnswer true if the receiver or any of its enclosing types have private visibilityfinal booleanAnswer true if the receiver has private visibilitybooleanisProperType(boolean admitCapture18) JLS8 Sect 18.1.1final booleanAnswer true if the receiver has protected visibilityfinal booleanisPublic()Answer true if the receiver has public visibilitybooleanisSealed()Answer true if the receiver has sealed modifierfinal booleanisStatic()Answer true if the receiver is a static member type (or toplevel)final booleanAnswer true if all float operations must adher to IEEE 754 float/double rulesbooleanisSubtypeOf(TypeBinding other, boolean simulatingBugJDK8026527) protected booleanisSubTypeOfRTL(TypeBinding other) booleanisSuperclassOf(ReferenceBinding otherType) Answer true if the receiver is in the superclass hierarchy of aType NOTE: Object.isSuperclassOf(Object) -> falsebooleanReturns true if a given type may be thrownbooleanisUncheckedException(boolean includeSupertype) JLS 11.5 ensures that Throwable, Exception, RuntimeException and Error are directly connected.final booleanisUsed()Answer true if the receiver has private visibility and is used locallyfinal booleanAnswer true if the receiver is deprecated (or any of its enclosing types)Returns the member types of this type sorted by simple name.methods()module()char[]nullAnnotatedReadableName(CompilerOptions options, boolean shortNames) Answer a readable name (for error reporting) that includes nullness type annotations.final ReferenceBindingchar[]Answer the source name for the type.char[]Answer the receiver's signature.char[]readableName(boolean showGenerics) retrieveAnnotationHolder(Binding binding, boolean forceInitialization) voidsetAnnotations(AnnotationBinding[] annotations, boolean forceStore) voidvoidchar[]char[]shortReadableName(boolean showGenerics) char[]Answer the receiver classfile signature.static voidsortFields(FieldBinding[] sortedFields, int left, int right) Sort the field array using a quicksortstatic voidsortMethods(MethodBinding[] sortedMethods, int left, int right) Sort the field array using a quicksortchar[]voidupwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform an upwards type projection as per JLS 4.10.5Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
actualType, annotatedDebugName, capture, clone, closestMatch, collectMissingTypes, collectSubstitutes, components, containerAnnotationType, dimensions, enclosingMethod, enclosingType, enterRecursiveFunction, equalsEquals, erasure, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, genericTypeSignature, getErasureCompatibleType, getIntersectingTypes, getTypeAnnotations, hasNullTypeAnnotations, hasTypeAnnotations, hasTypeBit, hasValueBasedTypeAnnotation, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isBoxedPrimitiveType, isBoxingCompatibleWith, isCapture, isCompatibleWith, isEquivalentTo, isFreeTypeVariable, isFunctionalType, isGenericType, isHierarchyInconsistent, isIntersectionType, isIntersectionType18, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPolyType, isPotentiallyCompatibleWith, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProvablyDistinct, isRawType, isRecord, isReifiable, isRepeatableAnnotationType, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUnresolvedType, isWildcard, kind, leafComponentType, mentionsAny, needsUncheckedConversion, notEquals, original, prototype, qualifiedPackageName, setTypeAnnotations, signableName, sIsMoreSpecific, swapUnresolved, syntheticOuterLocalVariables, typeVariables, unannotated, uncapture, updateTagBits, wellKnownBaseType, wellKnownType, withoutToplevelNullAnnotationVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotations
-
Felddetails
-
compoundName
public char[][] compoundName -
sourceName
public char[] sourceName -
modifiers
public int modifiers -
fPackage
-
singleAbstractMethod
-
LUB_GENERIC
-
samProblemBinding
-
-
Konstruktordetails
-
ReferenceBinding
-
ReferenceBinding
public ReferenceBinding()
-
-
Methodendetails
-
getRecordComponentAccessor
Get the accessor method given the record component name- Parameter:
name- name of the record component- Gibt zurück:
- the method binding of the accessor if found, else null
-
binarySearch
-
binarySearch
Returns a combined range value representing: (start + (endUngültige Eingabe: "<"Ungültige Eingabe: "<"32)), where start is the index of the first matching method (remember methods are sorted alphabetically on selectors), and end is the index of last contiguous methods with same selector. -1 means no method got found- Parameter:
selector-sortedMethods-- Gibt zurück:
- (start + (endUngültige Eingabe: "<"Ungültige Eingabe: "<"32)) or -1 if no method found
-
sortFields
Sort the field array using a quicksort -
sortMethods
Sort the field array using a quicksort -
availableFields
Return the array of resolvable fields (resilience) -
availableMethods
Return the array of resolvable methods (resilience) -
hasHierarchyCheckStarted
public boolean hasHierarchyCheckStarted() -
setHierarchyCheckDone
public void setHierarchyCheckDone() -
isFieldInitializationFinished
protected boolean isFieldInitializationFinished()- Gibt zurück:
- true, if the fields of the binding are fully initialized.
-
canBeInstantiated
public boolean canBeInstantiated()Answer true if the receiver can be instantiated- Setzt außer Kraft:
canBeInstantiatedin KlasseTypeBinding
-
canBeSeenBy
Answer true if the receiver is visible to the invocationPackage. -
canBeSeenBy
Answer true if the receiver is visible to the receiverType and the invocationType. -
innerCanBeSeenBy
public final boolean innerCanBeSeenBy(ReferenceBinding receiverType, ReferenceBinding invocationType) -
canBeSeenBy
Answer true if the receiver is visible to the type provided by the scope.- Setzt außer Kraft:
canBeSeenByin KlasseTypeBinding
-
innerCanBeSeenBy
-
computeGenericTypeSignature
-
computeId
public void computeId() -
computeId
-
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf) p.XUngültige Eingabe: "<"T extends Y Ungültige Eingabe: "&" I, U extends Y> {} -> Lp/XUngültige Eingabe: "<"TT;TU;>;- Setzt außer Kraft:
computeUniqueKeyin KlasseBinding
-
constantPoolName
public char[] constantPoolName()Answer the receiver's constant pool name. NOTE: This method should only be used during/after code gen.- Angegeben von:
constantPoolNamein KlasseTypeBinding
-
debugName
- Setzt außer Kraft:
debugNamein KlasseTypeBinding
-
depth
public int depth()- Setzt außer Kraft:
depthin KlasseTypeBinding
-
detectAnnotationCycle
public boolean detectAnnotationCycle() -
enclosingTypeAt
-
enumConstantCount
public int enumConstantCount() -
fieldCount
public int fieldCount() -
fields
-
getAccessFlags
public final int getAccessFlags() -
getAnnotations
- Setzt außer Kraft:
getAnnotationsin KlasseBinding- Gibt zurück:
- the JSR 175 annotations for this type.
-
getAnnotationTagBits
public long getAnnotationTagBits()Beschreibung aus Klasse kopiert:BindingCompute the tagbits for standard annotations. For source types, these could require lazily resolving corresponding annotation nodes, in case of forward references. For type use bindings, this method still returns the tagbits corresponding to the type declaration binding.- Setzt außer Kraft:
getAnnotationTagBitsin KlasseBinding- Siehe auch:
-
getEnclosingInstancesSlotSize
public int getEnclosingInstancesSlotSize()- Gibt zurück:
- the enclosingInstancesSlotSize
-
getExactConstructor
-
getExactMethod
public MethodBinding getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) -
getField
-
getComponent
-
getRecordComponent
-
getField
Where multiple fields with the same name are defined, this will return the one most visible one... Added for AspectJ to allow proper lookup with inter-type fields -
getFileName
public char[] getFileName()- Siehe auch:
-
getMemberType
Find the member type with the given simple typeName. Benefits from the fact that the array ofmemberTypes()is sorted. -
getMethods
- Setzt außer Kraft:
getMethodsin KlasseTypeBinding
-
getMethods
-
getOuterLocalVariablesSlotSize
public int getOuterLocalVariablesSlotSize()- Gibt zurück:
- the outerLocalVariablesSlotSize
-
getPackage
- Angegeben von:
getPackagein KlasseTypeBinding
-
getTypeVariable
-
hashCode
public int hashCode() -
hasIncompatibleSuperType
Returns true if the two types have an incompatible common supertype, e.g. Listand List -
hasMemberTypes
public boolean hasMemberTypes() -
acceptsNonNullDefault
public boolean acceptsNonNullDefault()Beschreibung aus Klasse kopiert:TypeBindingUsed to implement this sentence from o.e.j.annotation.DefaultLocation: "Wildcards and the use of type variables are always excluded from NonNullByDefault."- Setzt außer Kraft:
acceptsNonNullDefaultin KlasseTypeBinding
-
hasRestrictedAccess
public final boolean hasRestrictedAccess() -
hasNullBit
public boolean hasNullBit(int mask) Query typeBits without triggering supertype lookup. -
implementsInterface
Answer true if the receiver implements anInterface or is identical to anInterface. If searchHierarchy is true, then also search the receiver's superclasses. NOTE: Assume that anInterface is an interface. -
isAbstract
public final boolean isAbstract()Answer true if the receiver is an abstract type -
isAnnotationType
public boolean isAnnotationType()- Setzt außer Kraft:
isAnnotationTypein KlasseBinding
-
isBinaryBinding
public final boolean isBinaryBinding() -
isClass
public boolean isClass()- Setzt außer Kraft:
isClassin KlasseTypeBinding
-
isNestmateOf
-
isProperType
public boolean isProperType(boolean admitCapture18) Beschreibung aus Klasse kopiert:TypeBindingJLS8 Sect 18.1.1- Setzt außer Kraft:
isProperTypein KlasseTypeBinding- Parameter:
admitCapture18- request ifCaptureBinding18shuld be considered as a proper type. If unsure say 'true', only inScope.greaterLowerBound(TypeBinding[], Scope, LookupEnvironment)CaptureBinding18 has to be excluded to prevent an NPE on a branch that heuristically tries to avoid inconsistent intersections.
-
isCompatibleWith
Answer true if the receiver type can be assigned to the argument type (right) In addition to improving performance, caching also ensures there is no infinite regression since per nature, the compatibility check is recursive through parameterized type arguments (122775)- Angegeben von:
isCompatibleWithin KlasseTypeBinding
-
isNonSealed
public final boolean isNonSealed()Answer true if the receiver has non-sealed modifier -
isSealed
public boolean isSealed()Answer true if the receiver has sealed modifier -
isSubtypeOf
- Setzt außer Kraft:
isSubtypeOfin KlasseTypeBinding
-
isSubTypeOfRTL
-
isDefault
public final boolean isDefault()Answer true if the receiver has default visibility -
isDeprecated
public final boolean isDeprecated()Answer true if the receiver is a deprecated type -
isEnum
public boolean isEnum()- Setzt außer Kraft:
isEnumin KlasseTypeBinding
-
isFinal
public final boolean isFinal()Answer true if the receiver is final and cannot be subclassed -
isHierarchyBeingConnected
public boolean isHierarchyBeingConnected()Returns true if the type hierarchy is being connected -
isHierarchyBeingActivelyConnected
public boolean isHierarchyBeingActivelyConnected()Returns true if the type hierarchy is being connected "actively" i.e not paused momentatrily, while resolving type arguments. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=294057 -
isHierarchyConnected
public boolean isHierarchyConnected()Returns true if the type hierarchy is connected -
isInterface
public boolean isInterface()- Setzt außer Kraft:
isInterfacein KlasseTypeBinding
-
isFunctionalInterface
- Setzt außer Kraft:
isFunctionalInterfacein KlasseTypeBinding
-
isPrivate
public final boolean isPrivate()Answer true if the receiver has private visibility -
isOrEnclosedByPrivateType
public final boolean isOrEnclosedByPrivateType()Answer true if the receiver or any of its enclosing types have private visibility -
isProtected
public final boolean isProtected()Answer true if the receiver has protected visibility -
isPublic
public final boolean isPublic()Answer true if the receiver has public visibility -
isStatic
public final boolean isStatic()Answer true if the receiver is a static member type (or toplevel)- Setzt außer Kraft:
isStaticin KlasseTypeBinding
-
isStrictfp
public final boolean isStrictfp()Answer true if all float operations must adher to IEEE 754 float/double rules -
isSuperclassOf
Answer true if the receiver is in the superclass hierarchy of aType NOTE: Object.isSuperclassOf(Object) -> false -
isThrowable
public boolean isThrowable()Beschreibung aus Klasse kopiert:TypeBindingReturns true if a given type may be thrown- Setzt außer Kraft:
isThrowablein KlasseTypeBinding- Siehe auch:
-
isUncheckedException
public boolean isUncheckedException(boolean includeSupertype) JLS 11.5 ensures that Throwable, Exception, RuntimeException and Error are directly connected. (ThrowableUngültige Eingabe: "<"- Exception Ungültige Eingabe: "<"- RumtimeException, Throwable Ungültige Eingabe: "<"- Error). Thus no need to check #isCompatibleWith but rather check in type IDs so as to avoid some eager class loading for JCL writers. When 'includeSupertype' is true, answers true if the given type can be a supertype of some unchecked exception type (i.e. Throwable or Exception).- Setzt außer Kraft:
isUncheckedExceptionin KlasseTypeBinding- Siehe auch:
-
isUsed
public final boolean isUsed()Answer true if the receiver has private visibility and is used locally -
isViewedAsDeprecated
public final boolean isViewedAsDeprecated()Answer true if the receiver is deprecated (or any of its enclosing types) -
memberTypes
Returns the member types of this type sorted by simple name. -
methods
-
outermostEnclosingType
-
qualifiedSourceName
public char[] qualifiedSourceName()Answer the source name for the type. In the case of member types, as the qualified name from its top level type. For example, for a member type N defined inside M Ungültige Eingabe: "&" A: "A.M.N".- Angegeben von:
qualifiedSourceNamein KlasseTypeBinding
-
readableName
public char[] readableName()Answer the receiver's signature. NOTE: This method should only be used during/after code gen.- Angegeben von:
readableNamein KlasseBinding
-
readableName
public char[] readableName(boolean showGenerics) -
appendNullAnnotation
-
retrieveAnnotationHolder
-
setAnnotations
- Setzt außer Kraft:
setAnnotationsin KlasseBinding
-
setContainerAnnotationType
-
tagAsHavingDefectiveContainerType
public void tagAsHavingDefectiveContainerType() -
nullAnnotatedReadableName
Beschreibung aus Klasse kopiert:TypeBindingAnswer a readable name (for error reporting) that includes nullness type annotations.- Setzt außer Kraft:
nullAnnotatedReadableNamein KlasseTypeBinding- Siehe auch:
-
shortReadableName
public char[] shortReadableName()- Setzt außer Kraft:
shortReadableNamein KlasseBinding
-
shortReadableName
public char[] shortReadableName(boolean showGenerics) -
signature
public char[] signature()Beschreibung aus Klasse kopiert:TypeBindingAnswer the receiver classfile signature. Arrays Ungültige Eingabe: "&" base types do not distinguish between signature() Ungültige Eingabe: "&" constantPoolName(). NOTE: This method should only be used during/after code gen.- Setzt außer Kraft:
signaturein KlasseTypeBinding
-
sourceName
public char[] sourceName()- Angegeben von:
sourceNamein KlasseTypeBinding
-
upwardsProjection
Perform an upwards type projection as per JLS 4.10.5- Setzt außer Kraft:
upwardsProjectionin KlasseTypeBinding- Parameter:
scope- Relevant scope for evaluating type projectionmentionedTypeVariables- Filter for mentioned type variabled
-
downwardsProjection
Perform a downwards type projection as per JLS 4.10.5- Setzt außer Kraft:
downwardsProjectionin KlasseTypeBinding- Parameter:
scope- Relevant scope for evaluating type projectionmentionedTypeVariables- Filter for mentioned type variabled
-
superclass
- Setzt außer Kraft:
superclassin KlasseTypeBinding
-
permittedTypes
- Setzt außer Kraft:
permittedTypesin KlasseTypeBinding
-
superInterfaces
- Setzt außer Kraft:
superInterfacesin KlasseTypeBinding
-
syntheticEnclosingInstanceTypes
-
unResolvedFields
-
unResolvedComponents
-
applyCloseableClassWhitelists
-
hasMethodWithNumArgs
protected boolean hasMethodWithNumArgs(char[] selector, int numArgs) -
applyCloseableInterfaceWhitelists
protected int applyCloseableInterfaceWhitelists() -
getInterfaceAbstractContracts
protected MethodBinding[] getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) throws InvalidInputException - Löst aus:
InvalidInputException
-
getSingleAbstractMethod
Beschreibung aus Klasse kopiert:TypeBindingReturn the single abstract method of a functional interface, or one ofnullorsamProblemBinding, if the receiver is not a functional interface as defined in JLS 9.8. In particularnullis answered if the receiver is not a reference type, or is a problem type.- Setzt außer Kraft:
getSingleAbstractMethodin KlasseTypeBinding- Parameter:
scope- scopereplaceWildcards- Should wildcards be replaced following JLS 9.8? Say false for lambdas with explicit argument types which should apply 18.5.3- Gibt zurück:
- The single abstract method of a functional interface, or one of
nullorsamProblemBinding, if the receiver is not a functional interface.
-
isConsistentIntersection
-
module
-
hasEnclosingInstanceContext
public boolean hasEnclosingInstanceContext()
-