|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPlatformObject
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
public class LambdaExpression
| Field Summary | |
|---|---|
protected int |
arrowPosition
|
protected java.lang.String |
interphase
|
protected int |
sourceEnd
|
protected int |
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.SourceRefElement |
|---|
occurrenceCount |
| 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_PACKAGEDECLARATION, JEM_PACKAGEFRAGMENT, JEM_PACKAGEFRAGMENTROOT, JEM_STRING, JEM_TYPE, JEM_TYPE_PARAMETER, NO_ELEMENTS, NO_INFO, parent |
| 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_PROJECT, LOCAL_VARIABLE, METHOD, PACKAGE_DECLARATION, PACKAGE_FRAGMENT, PACKAGE_FRAGMENT_ROOT, TYPE, TYPE_PARAMETER |
| Method Summary | |
|---|---|
protected void |
closing(java.lang.Object info)
This element is being closed. |
boolean |
equals(java.lang.Object o)
Returns true if this handle represents the same Java element as the given handle. |
IJavaElement[] |
getChildren()
Returns the immediate children of this element. |
java.lang.Object |
getElementInfo(IProgressMonitor monitor)
Returns the info for this handle. |
IJavaElement |
getHandleFromMemento(java.lang.String token,
MementoTokenizer memento,
WorkingCopyOwner workingCopyOwner)
|
protected void |
getHandleMemento(java.lang.StringBuffer buff)
|
protected void |
getHandleMemento(java.lang.StringBuffer buff,
boolean serializeParent,
boolean serializeChild)
|
protected char |
getHandleMementoDelimiter()
Returns the char that marks the start of this handles
contribution to a memento. |
IMethod |
getMethod()
|
IJavaElement |
getPrimaryElement(boolean checkOwner)
|
java.lang.String[] |
getSuperInterfaceTypeSignatures()
Returns the type signatures of the interfaces that this type implements or extends, in the order in which they are listed in the source. |
int |
hashCode()
Returns the hash code for this Java element. |
boolean |
isAnonymous()
Returns whether this type represents an anonymous type. |
boolean |
isLambda()
Returns whether this type represents a lambda expression. |
boolean |
isLocal()
Returns whether this type represents a local type. |
JavaElement |
resolved(Binding binding)
|
void |
toStringName(java.lang.StringBuffer buffer)
Debugging purposes |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.NamedMember |
|---|
getElementName, getFullyQualifiedName, getFullyQualifiedParameterizedName, getKey, getKey, getKey, getTypeQualifiedName, resolveType, resolveType |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.Member |
|---|
areSimilarMethods, convertConstant, findMethods, getCategories, getClassFile, getFlags, getJavadocRange, getNameRange, getOuterMostLocalContext, getType, getTypeRoot, isBinary, isMainMethod, 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, isStructureKnown, move, rename, resource |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IType |
|---|
getElementName, resolveType, resolveType |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IMember |
|---|
getCategories, getClassFile, getCompilationUnit, getFlags, getJavadocRange, getOccurrenceCount, getType, getTypeRoot, isBinary |
| 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.ISourceReference |
|---|
exists, getNameRange, getSource, getSourceRange |
| 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.IParent |
|---|
hasChildren |
| Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IAnnotatable |
|---|
getAnnotation |
| Field Detail |
|---|
protected int sourceStart
protected int sourceEnd
protected int arrowPosition
protected java.lang.String interphase
| Method Detail |
|---|
protected void closing(java.lang.Object info)
throws JavaModelException
SourceRefElement
closing in class SourceTypeJavaModelExceptionpublic boolean equals(java.lang.Object o)
JavaElementIf a subclass has other requirements for equality, this method must be overridden.
equals in class SourceTypeObject.equals(java.lang.Object)public int hashCode()
JavaElement
hashCode in class JavaElement
public java.lang.Object getElementInfo(IProgressMonitor monitor)
throws JavaModelException
JavaElement
getElementInfo in class JavaElementJavaModelException - if the element is not present or not accessibleprotected char getHandleMementoDelimiter()
JavaElementchar that marks the start of this handles
contribution to a memento.
getHandleMementoDelimiter in class MemberJavaElement.getHandleMemento()protected void getHandleMemento(java.lang.StringBuffer buff)
getHandleMemento in class SourceRefElement
protected void getHandleMemento(java.lang.StringBuffer buff,
boolean serializeParent,
boolean serializeChild)
public IJavaElement getHandleFromMemento(java.lang.String token,
MementoTokenizer memento,
WorkingCopyOwner workingCopyOwner)
getHandleFromMemento in class SourceType
public IJavaElement[] getChildren()
throws JavaModelException
IParent
getChildren in interface IParentgetChildren in class JavaElementJavaModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resourceIParentpublic boolean isLocal()
ITypeNote: This deviates from JLS3 14.3, which states that anonymous types are not local types since they do not have a name.
isLocal in interface ITypeisLocal in class SourceTypeIType.isLocal()public JavaElement resolved(Binding binding)
resolved in class SourceTypepublic IMethod getMethod()
public boolean isLambda()
IType
isLambda in interface ITypeisLambda in class SourceTypepublic boolean isAnonymous()
IType
isAnonymous in interface ITypeisAnonymous in class SourceTypeIType.isAnonymous()public void toStringName(java.lang.StringBuffer buffer)
JavaElement
toStringName in class SourceRefElementpublic IJavaElement getPrimaryElement(boolean checkOwner)
getPrimaryElement in class SourceType
public java.lang.String[] getSuperInterfaceTypeSignatures()
throws JavaModelException
ITypeFor classes and enum types, this gives the interfaces that this class implements. For interfaces and annotation types, this gives the interfaces that this interface extends. An empty collection is returned if this type does not implement or extend any interfaces. For anonymous types, an empty collection is always returned.
The type signatures may be either unresolved (for source types)
or resolved (for binary types), and either basic (for basic types)
or rich (for parameterized types). See Signature for details.
getSuperInterfaceTypeSignatures in interface ITypegetSuperInterfaceTypeSignatures in class SourceTypeJavaModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resource.IType.getSuperInterfaceTypeSignatures()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||