Class NamedMember
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
- All Implemented Interfaces:
IJavaElement, IMember, IParent, ISourceManipulation, ISourceReference, org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
AbstractModule.AutoModule, BinaryMember, SourceField, SourceMethod, SourceModule, SourceType
-
Field Summary
FieldsFields inherited from class 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_STRINGSFields inherited from interface 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
ConstructorsConstructorDescriptionNamedMember(JavaElement parent, String name) NamedMember(JavaElement parent, String name, int occurrenceCount) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of this element.getFullyQualifiedName(char enclosingTypeSeparator, boolean showParameters) protected StringgetFullyQualifiedParameterizedName(String fullyQualifiedName, String uniqueKey) protected Stringprotected Stringprotected StringgetKey(IModuleDescription module, boolean forceOpen) protected Stringprotected Stringprotected IPackageFragmentprotected ITypeParameter[]getTypeQualifiedName(char enclosingTypeSeparator, boolean showParameters) String[][]resolveType(String typeName) String[][]resolveType(String typeName, WorkingCopyOwner owner) Methods inherited from class Member
areSimilarMethods, convertConstant, findMethods, getCategories, getClassFile, getDeclaringType, getFlags, getHandleFromMemento, getHandleMementoDelimiter, getJavadocRange, getNameRange, getOuterMostLocalContext, getType, getTypeRoot, isBinary, isMainMethod, isMainMethodCandidate, isReadOnly, readableNameMethods inherited from class SourceRefElement
calculateHashCode, closing, copy, createElementInfo, delete, equals, findNode, generateInfos, getAnnotation, getAnnotations, getCompilationUnit, getCorrespondingResource, getHandleMemento, getHandleUpdatingCountFromMemento, getOccurrenceCount, getOpenableParent, getPath, getSource, getSourceRange, getUnderlyingResource, hasChildren, incOccurrenceCount, isStructureKnown, move, rename, resource, setOccurrenceCount, toStringNameMethods inherited from class JavaElement
appendEscapedDelimiter, 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, resetHashCode, resolved, tabString, toDebugString, toString, toString, toStringAncestors, toStringChildren, toStringInfo, toStringInfo, toStringWithAncestors, toStringWithAncestors, unresolved, validateAndCacheMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface IJavaElement
exists, getAncestor, getAttachedJavadoc, getCorrespondingResource, getElementType, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isStructureKnownMethods inherited from interface IMember
getCompilationUnit, getOccurrenceCountMethods inherited from interface IParent
getChildren, hasChildrenMethods inherited from interface ISourceManipulation
copy, delete, move, renameMethods inherited from interface ISourceReference
exists, getSource, getSourceRange
-
Field Details
-
name
-
-
Constructor Details
-
NamedMember
-
NamedMember
-
-
Method Details
-
getElementName
Description copied from interface:IJavaElementReturns the name of this element. This is a handle-only method.- Specified by:
getElementNamein interfaceIJavaElement- Overrides:
getElementNamein classJavaElement- Returns:
- the element name
- See Also:
-
getKey
- Throws:
JavaModelException
-
getKey
- Throws:
JavaModelException
-
getKey
- Throws:
JavaModelException
-
getKey
- Throws:
JavaModelException
-
getFullyQualifiedParameterizedName
protected String getFullyQualifiedParameterizedName(String fullyQualifiedName, String uniqueKey) throws JavaModelException - Throws:
JavaModelException
-
getPackageFragment
-
getFullyQualifiedName
public String getFullyQualifiedName(char enclosingTypeSeparator, boolean showParameters) throws JavaModelException - Throws:
JavaModelException
-
getTypeQualifiedName
public String getTypeQualifiedName(char enclosingTypeSeparator, boolean showParameters) throws JavaModelException - Throws:
JavaModelException
-
getOccurrenceCountSignature
-
getTypeParameters
- Throws:
JavaModelException
-
resolveType
- Throws:
JavaModelException- See Also:
-
resolveType
- Throws:
JavaModelException- See Also:
-