org.aspectj.org.eclipse.jdt.internal.core
Class ResolvedBinaryType
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
org.aspectj.org.eclipse.jdt.internal.core.BinaryMember
org.aspectj.org.eclipse.jdt.internal.core.BinaryType
org.aspectj.org.eclipse.jdt.internal.core.ResolvedBinaryType
- All Implemented Interfaces:
- IJavaElement, IMember, IParent, ISourceManipulation, ISourceReference, IType, SuffixConstants
public class ResolvedBinaryType
- extends BinaryType
Handle representing a binary type that is resolved.
The uniqueKey contains the genericTypeSignature of the resolved type. Use BindingKey to decode it.
| 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_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 |
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 |
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants |
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_jar, EXTENSION_JAR, EXTENSION_java, EXTENSION_JAVA, EXTENSION_zip, EXTENSION_ZIP, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_jar, SUFFIX_JAR, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_jar, SUFFIX_STRING_JAR, SUFFIX_STRING_java, SUFFIX_STRING_JAVA, SUFFIX_STRING_zip, SUFFIX_STRING_ZIP, SUFFIX_zip, SUFFIX_ZIP |
|
Method Summary |
java.lang.String |
getFullyQualifiedParameterizedName()
Returns this type's fully qualified name followed by its type parameters between angle brakets if it is a generic type. |
java.lang.String |
getKey()
Returns the binding key for this type. |
boolean |
isResolved()
Returns whether this type represents a resolved type. |
protected void |
toStringInfo(int tab,
java.lang.StringBuffer buffer,
java.lang.Object info,
boolean showResolvedInfo)
Debugging purposes |
JavaElement |
unresolved()
|
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.BinaryType |
closing, codeComplete, codeComplete, codeComplete, codeComplete, createField, createInitializer, createMethod, createType, equals, findMethods, getAttachedJavadoc, getChildren, getChildrenForCategory, getClassFileInfo, getDeclaringType, getElementInfo, getElementType, getField, getFields, getFlags, getFullyQualifiedName, getFullyQualifiedName, getHandleFromMemento, getInitializer, getInitializers, getJavadocContents, getKey, getMethod, getMethods, getPackageFragment, getSourceFileName, getSuperclassName, getSuperclassTypeSignature, getSuperInterfaceNames, getSuperInterfaceTypeSignatures, getType, getTypeParameter, getTypeParameters, getTypeParameterSignatures, getTypeQualifiedName, getTypeQualifiedName, getTypes, isAnnotation, isAnonymous, isClass, isEnum, isInterface, isLocal, isMember, loadTypeHierachy, loadTypeHierachy, newSupertypeHierarchy, newSupertypeHierarchy, newSupertypeHierarchy, newSupertypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, resolved, resolveType, resolveType, sourceFileName, toStringName |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.Member |
areSimilarMethods, convertConstant, findMethods, getClassFile, getHandleMementoDelimiter, getJavadocRange, getOuterMostLocalContext, getType, getTypeRoot, isMainMethod, isReadOnly, readableName, updateNameRange |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceRefElement |
createElementInfo, delete, findNode, getCompilationUnit, getCorrespondingResource, getHandleMemento, getHandleUpdatingCountFromMemento, getOccurrenceCount, getOpenableParent, getPath, getResource, getSource, getUnderlyingResource, hasChildren |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElement |
close, escapeMementoName, exists, getAncestor, getChildrenOfType, getElementInfo, getHandleFromMemento, getHandleIdentifier, getHandleMemento, getJavadocBaseLocation, getJavaModel, getJavaProject, getLibraryJavadocLocation, getOpenable, getParent, getPrimaryElement, getPrimaryElement, getSchedulingRule, getSourceElementAt, getSourceMapper, getURLContents, hashCode, isAncestorOf, newJavaModelException, newNotPresentException, openWhenClosed, tabString, toDebugString, toString, toString, toStringAncestors, toStringChildren, toStringInfo, toStringWithAncestors, toStringWithAncestors |
| 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, getCorrespondingResource, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isReadOnly, isStructureKnown |
ResolvedBinaryType
public ResolvedBinaryType(JavaElement parent,
java.lang.String name,
java.lang.String uniqueKey)
getFullyQualifiedParameterizedName
public java.lang.String getFullyQualifiedParameterizedName()
throws JavaModelException
- Description copied from interface:
IType
- Returns this type's fully qualified name followed by its type parameters between angle brakets if it is a generic type.
For example, "p.X<T>", "java.util.Map<java.lang.String, p.X>"
- Specified by:
getFullyQualifiedParameterizedName in interface IType- Overrides:
getFullyQualifiedParameterizedName in class BinaryType
- 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
public java.lang.String getKey()
- Description copied from interface:
IType
- Returns the binding key for this type. A binding key is a key that uniquely
identifies this type. It allows access to generic info for parameterized
types.
- Specified by:
getKey in interface IType- Overrides:
getKey in class BinaryMember
- Returns:
- the binding key for this type
- See Also:
IBinding.getKey(),
BindingKey
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 interface IType- Overrides:
isResolved in class BinaryType
- Returns:
- whether this type represents a resolved type.
toStringInfo
protected void toStringInfo(int tab,
java.lang.StringBuffer buffer,
java.lang.Object info,
boolean showResolvedInfo)
- Description copied from class:
JavaElement
- Debugging purposes
- Overrides:
toStringInfo in class BinaryType
showResolvedInfo - TODO
unresolved
public JavaElement unresolved()
- Overrides:
unresolved in class JavaElement