Class ResolvedLambdaExpression
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.aspectj.org.eclipse.jdt.internal.core.JavaElement
org.aspectj.org.eclipse.jdt.internal.core.SourceRefElement
org.aspectj.org.eclipse.jdt.internal.core.Member
org.aspectj.org.eclipse.jdt.internal.core.NamedMember
org.aspectj.org.eclipse.jdt.internal.core.SourceType
org.aspectj.org.eclipse.jdt.internal.core.LambdaExpression
org.aspectj.org.eclipse.jdt.internal.core.ResolvedLambdaExpression
- All Implemented Interfaces:
IAnnotatable
,IJavaElement
,IMember
,IParent
,ISourceManipulation
,ISourceReference
,IType
,org.eclipse.core.runtime.IAdaptable
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.LambdaExpression
arrowPosition, interphase, lambdaMethod, sourceEnd, sourceStart
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceType
localOccurrenceCount
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.NamedMember
name
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElement
JEM_ANNOTATION, JEM_CLASSFILE, JEM_COMPILATIONUNIT, JEM_COUNT, JEM_DELIMITER_ESCAPE, JEM_ESCAPE, JEM_FIELD, JEM_IMPORTDECLARATION, JEM_INITIALIZER, JEM_JAVAPROJECT, JEM_LAMBDA_EXPRESSION, JEM_LAMBDA_METHOD, JEM_LOCALVARIABLE, JEM_METHOD, JEM_MODULAR_CLASSFILE, JEM_MODULE, JEM_PACKAGEDECLARATION, JEM_PACKAGEFRAGMENT, JEM_PACKAGEFRAGMENTROOT, JEM_STRING, JEM_TYPE, JEM_TYPE_PARAMETER, NO_ELEMENTS, NO_INFO, NO_STRINGS
Fields inherited from interface org.aspectj.org.eclipse.jdt.core.IJavaElement
ANNOTATION, CLASS_FILE, COMPILATION_UNIT, FIELD, IMPORT_CONTAINER, IMPORT_DECLARATION, INITIALIZER, JAVA_MODEL, JAVA_MODULE, JAVA_PROJECT, LOCAL_VARIABLE, METHOD, PACKAGE_DECLARATION, PACKAGE_FRAGMENT, PACKAGE_FRAGMENT_ROOT, TYPE, TYPE_PARAMETER
-
Constructor Summary
ConstructorDescriptionResolvedLambdaExpression
(JavaElement parent, LambdaExpression unresolved, String uniqueKey) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this handle represents the same Java element as the given handle.Returns this type's fully qualified name using a '.' enclosing type separator followed by its type parameters between angle brackets if it is a generic type.getKey()
Returns the binding key for this type only if the given type isresolved
.boolean
Returns whether this type represents a resolved type.protected void
toStringInfo
(int tab, StringBuilder buffer, Object info, boolean showResolvedInfo) Debugging purposesMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.LambdaExpression
calculateHashCode, closing, findLambdaSuperType, getChildren, getElementInfo, getHandleFromMemento, getHandleMemento, getHandleMemento, getHandleMementoDelimiter, getMethod, getPrimaryElement, getSuperInterfaceTypeSignatures, isAnonymous, isLambda, isLocal, resolved, toStringName
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceType
codeComplete, codeComplete, codeComplete, codeComplete, codeComplete, codeComplete, createField, createInitializer, createMethod, createType, findMethods, getAnnotations, getChildrenForCategory, getClassFile, getDeclaringType, getElementType, getField, getFields, getFullyQualifiedName, getFullyQualifiedName, getInitializer, getInitializers, getMethod, getMethods, getOccurrenceCountSignature, getPackageFragment, getPermittedSubtypeNames, getRecordComponent, getRecordComponents, getSuperclassName, getSuperclassTypeSignature, getSuperInterfaceNames, getType, getTypeParameter, getTypeParameters, getTypeParameterSignatures, getTypeQualifiedName, getTypeQualifiedName, getTypes, isAnnotation, isClass, isEnum, isInterface, isMember, isRecord, isSealed, loadTypeHierachy, loadTypeHierachy, newSupertypeHierarchy, newSupertypeHierarchy, newSupertypeHierarchy, newSupertypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.NamedMember
getElementName, getFullyQualifiedName, getFullyQualifiedParameterizedName, getKey, getKey, getKey, getKey, getTypeQualifiedName, resolveType, resolveType
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.Member
areSimilarMethods, convertConstant, findMethods, getCategories, getFlags, getJavadocRange, getNameRange, getOuterMostLocalContext, getType, getTypeRoot, isBinary, isMainMethod, isMainMethodCandidate, isReadOnly, readableName
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceRefElement
copy, createElementInfo, delete, findNode, generateInfos, getAnnotation, getCompilationUnit, getCorrespondingResource, getHandleUpdatingCountFromMemento, getOccurrenceCount, getOpenableParent, getPath, getSource, getSourceRange, getUnderlyingResource, hasChildren, incOccurrenceCount, isStructureKnown, move, rename, resource, setOccurrenceCount
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElement
appendEscapedDelimiter, close, escapeMementoName, exists, getAncestor, getAttachedJavadoc, getChildrenOfType, getElementInfo, getHandleFromMemento, getHandleIdentifier, getHandleMemento, getJavadocBaseLocation, getJavaModel, getJavaProject, getLibraryJavadocLocation, getOpenable, getParent, getPrimaryElement, getResource, getSchedulingRule, getSourceElementAt, getSourceMapper, getURLContents, hashCode, isAncestorOf, newDoesNotExistStatus, newJavaModelException, newNotPresentException, openWhenClosed, resetHashCode, tabString, toDebugString, toString, toString, toStringAncestors, toStringChildren, toStringInfo, toStringWithAncestors, toStringWithAncestors, validateAndCache
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IAnnotatable
getAnnotation
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IJavaElement
exists, getAncestor, getAttachedJavadoc, getCorrespondingResource, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isReadOnly, isStructureKnown
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IMember
getCategories, getCompilationUnit, getFlags, getJavadocRange, getOccurrenceCount, getType, getTypeRoot, isBinary
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IParent
hasChildren
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.ISourceManipulation
copy, delete, move, rename
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.ISourceReference
exists, getNameRange, getSource, getSourceRange
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IType
getElementName, resolveType, resolveType
-
Constructor Details
-
ResolvedLambdaExpression
-
-
Method Details
-
getFullyQualifiedParameterizedName
Description copied from interface:IType
Returns this type's fully qualified name using a '.' enclosing type separator followed by its type parameters between angle brackets if it is a generic type. For example, "p.X<T>", "java.util.Map<java.lang.String, p.X>"- Specified by:
getFullyQualifiedParameterizedName
in interfaceIType
- Overrides:
getFullyQualifiedParameterizedName
in classSourceType
- Returns:
- the fully qualified parameterized representation of this type
- Throws:
JavaModelException
- if this element does not exist or if an exception occurs while accessing its corresponding resource.
-
getKey
Description copied from interface:IType
Returns the binding key for this type only if the given type isresolved
. A binding key is a key that uniquely identifies this type. It allows access to generic info for parameterized types.If the given type is not resolved, the returned key is simply the java element's key.
- Specified by:
getKey
in interfaceIType
- Overrides:
getKey
in classSourceType
- Returns:
- the binding key for this type
- See Also:
-
equals
Description copied from class:JavaElement
Returns true if this handle represents the same Java element as the given handle. By default, two handles represent the same element if they are identical or if they represent the same type of element, have equal names, parents, and occurrence counts.If a subclass has other requirements for equality, this method must be overridden.
- Overrides:
equals
in classLambdaExpression
- See Also:
-
isResolved
public boolean isResolved()Description copied from interface:IType
Returns whether this type represents a resolved type. If a type is resolved, its key contains resolved information.- Specified by:
isResolved
in interfaceIType
- Overrides:
isResolved
in classSourceType
- Returns:
- whether this type represents a resolved type.
-
toStringInfo
Description copied from class:JavaElement
Debugging purposes- Overrides:
toStringInfo
in classSourceType
- Parameters:
showResolvedInfo
- TODO
-
unresolved
- Overrides:
unresolved
in classJavaElement
-