org.aspectj.org.eclipse.jdt.internal.core
Class NamedMember
java.lang.Object
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
- All Implemented Interfaces:
- IJavaElement, IMember, IParent, ISourceManipulation, ISourceReference
- Direct Known Subclasses:
- BinaryMember, SourceField, SourceMethod, SourceType
public abstract class NamedMember
- extends Member
|
Field Summary |
protected java.lang.String |
name
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElement |
JEM_ANNOTATION, JEM_CLASSFILE, JEM_COMPILATIONUNIT, JEM_COUNT, JEM_ESCAPE, JEM_FIELD, JEM_IMPORTDECLARATION, JEM_INITIALIZER, JEM_JAVAPROJECT, JEM_LOCALVARIABLE, JEM_METHOD, JEM_PACKAGEDECLARATION, JEM_PACKAGEFRAGMENT, JEM_PACKAGEFRAGMENTROOT, 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 |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.Member |
areSimilarMethods, convertConstant, findMethods, getCategories, getClassFile, getDeclaringType, getFlags, getHandleFromMemento, getHandleMementoDelimiter, getJavadocRange, getNameRange, getOuterMostLocalContext, getType, getTypeRoot, isBinary, isMainMethod, isReadOnly, readableName |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceRefElement |
closing, copy, createElementInfo, delete, equals, findNode, generateInfos, getAnnotation, getAnnotations, getCompilationUnit, getCorrespondingResource, getHandleMemento, getHandleUpdatingCountFromMemento, getOccurrenceCount, getOpenableParent, getPath, getSource, getSourceRange, getUnderlyingResource, hasChildren, isStructureKnown, move, rename, resource, toStringName |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElement |
close, escapeMementoName, exists, getAncestor, getAttachedJavadoc, getChildren, getChildrenOfType, getElementInfo, getElementInfo, getHandleFromMemento, getHandleIdentifier, getHandleMemento, getJavadocBaseLocation, getJavaModel, getJavaProject, getLibraryJavadocLocation, getOpenable, getParent, getPrimaryElement, getPrimaryElement, getResource, getSchedulingRule, getSourceElementAt, getSourceMapper, getURLContents, hashCode, isAncestorOf, newDoesNotExistStatus, newJavaModelException, newNotPresentException, openWhenClosed, resolved, tabString, toDebugString, toString, toString, toStringAncestors, toStringChildren, toStringInfo, toStringInfo, toStringWithAncestors, toStringWithAncestors, unresolved |
| 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.IJavaElement |
exists, getAncestor, getAttachedJavadoc, getCorrespondingResource, getElementType, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isStructureKnown |
name
protected java.lang.String name
NamedMember
public NamedMember(JavaElement parent,
java.lang.String name)
getElementName
public java.lang.String getElementName()
- Description copied from interface:
IJavaElement
- Returns the name of this element. This is a handle-only method.
- Specified by:
getElementName in interface IJavaElement- Overrides:
getElementName in class JavaElement
- Returns:
- the element name
- See Also:
IAdaptable
getKey
protected java.lang.String getKey(IField field,
boolean forceOpen)
throws JavaModelException
- Throws:
JavaModelException
getKey
protected java.lang.String getKey(IMethod method,
boolean forceOpen)
throws JavaModelException
- Throws:
JavaModelException
getKey
protected java.lang.String getKey(IType type,
boolean forceOpen)
throws JavaModelException
- Throws:
JavaModelException
getFullyQualifiedParameterizedName
protected java.lang.String getFullyQualifiedParameterizedName(java.lang.String fullyQualifiedName,
java.lang.String uniqueKey)
throws JavaModelException
- Throws:
JavaModelException
getPackageFragment
protected IPackageFragment getPackageFragment()
getFullyQualifiedName
public java.lang.String getFullyQualifiedName(char enclosingTypeSeparator,
boolean showParameters)
throws JavaModelException
- Throws:
JavaModelException
getTypeQualifiedName
public java.lang.String getTypeQualifiedName(char enclosingTypeSeparator,
boolean showParameters)
throws JavaModelException
- Throws:
JavaModelException
getTypeParameters
protected ITypeParameter[] getTypeParameters()
throws JavaModelException
- Throws:
JavaModelException
resolveType
public java.lang.String[][] resolveType(java.lang.String typeName)
throws JavaModelException
- Throws:
JavaModelException- See Also:
IType.resolveType(String)
resolveType
public java.lang.String[][] resolveType(java.lang.String typeName,
WorkingCopyOwner owner)
throws JavaModelException
- Throws:
JavaModelException- See Also:
IType.resolveType(String, WorkingCopyOwner)