Class ResolvedBinaryType
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.BinaryMember
org.aspectj.org.eclipse.jdt.internal.core.BinaryType
org.aspectj.org.eclipse.jdt.internal.core.ResolvedBinaryType
- All Implemented Interfaces:
IAnnotatable
,IJavaElement
,IMember
,IParent
,ISourceManipulation
,ISourceReference
,IType
,SuffixConstants
,org.eclipse.core.runtime.IAdaptable
Handle representing a binary type that is resolved.
The uniqueKey contains the genericTypeSignature of the resolved type. Use BindingKey to decode it.
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.BinaryType
EMPTY_JAVADOC
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
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.util.SuffixConstants
EXTENSION_aj, EXTENSION_AJ, EXTENSION_class, EXTENSION_CLASS, EXTENSION_java, EXTENSION_JAVA, EXTENSION_jmod, EXTENSION_JMOD, SUFFIX_aj, SUFFIX_AJ, SUFFIX_class, SUFFIX_CLASS, SUFFIX_java, SUFFIX_JAVA, SUFFIX_STRING_aj, SUFFIX_STRING_AJ, SUFFIX_STRING_class, SUFFIX_STRING_CLASS, SUFFIX_STRING_java, SUFFIX_STRING_JAVA
-
Constructor Summary
ConstructorDescriptionResolvedBinaryType
(JavaElement parent, String name, String uniqueKey) ResolvedBinaryType
(JavaElement parent, String name, String uniqueKey, int occurrenceCount) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
.getKey
(boolean forceOpen) 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.BinaryType
closing, codeComplete, codeComplete, codeComplete, codeComplete, codeComplete, codeComplete, createField, createInitializer, createMethod, createType, equals, findMethods, getAnnotations, getAttachedJavadoc, getChildren, getChildrenForCategory, getClassFile, getClassFileInfo, getDeclaringType, getElementInfo, getElementInfo, getElementType, getField, getFields, getFlags, getFullyQualifiedName, getFullyQualifiedName, getHandleFromMemento, getInitializer, getInitializers, getJavadocContents, getMethod, getMethods, getPackageFragment, getPermittedSubtypeNames, getRecordComponent, getRecordComponents, getSourceFileName, getSuperclassName, getSuperclassTypeSignature, getSuperInterfaceNames, getSuperInterfaceTypeSignatures, getType, getTypeParameter, getTypeParameters, getTypeParameterSignatures, getTypeQualifiedName, getTypeQualifiedName, getTypes, isAnnotation, isAnonymous, isClass, isEnum, isInterface, isLambda, isLocal, isMember, isRecord, isSealed, loadTypeHierachy, loadTypeHierachy, newSupertypeHierarchy, newSupertypeHierarchy, newSupertypeHierarchy, newSupertypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, newTypeHierarchy, resolved, sourceFileName, toStringName
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.BinaryMember
copy, getAnnotations, getCategories, getNameRange, getSourceRange, getStandardAnnotations, isBinary, isStructureKnown, move, rename, setContents
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.NamedMember
getElementName, getFullyQualifiedName, getFullyQualifiedParameterizedName, getKey, getKey, getKey, getKey, getOccurrenceCountSignature, getTypeQualifiedName, resolveType, resolveType
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.Member
areSimilarMethods, convertConstant, findMethods, getHandleMementoDelimiter, getJavadocRange, getOuterMostLocalContext, getType, getTypeRoot, isMainMethod, isMainMethodCandidate, isReadOnly, readableName
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceRefElement
calculateHashCode, createElementInfo, delete, findNode, generateInfos, getAnnotation, getCompilationUnit, getCorrespondingResource, getHandleMemento, getHandleUpdatingCountFromMemento, getOccurrenceCount, getOpenableParent, getPath, getSource, getUnderlyingResource, hasChildren, incOccurrenceCount, resource, setOccurrenceCount
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElement
appendEscapedDelimiter, close, escapeMementoName, exists, getAncestor, getChildrenOfType, getHandleFromMemento, getHandleIdentifier, getHandleMemento, getJavadocBaseLocation, getJavaModel, getJavaProject, getLibraryJavadocLocation, getOpenable, getParent, getPrimaryElement, 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, 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, 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
-
ResolvedBinaryType
-
ResolvedBinaryType
-
-
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 classBinaryType
- 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 classBinaryMember
- Returns:
- the binding key for this type
- See Also:
-
getKey
- Overrides:
getKey
in classBinaryType
- Throws:
JavaModelException
- 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 classBinaryType
- Returns:
- whether this type represents a resolved type.
-
toStringInfo
Description copied from class:JavaElement
Debugging purposes- Overrides:
toStringInfo
in classBinaryType
- Parameters:
showResolvedInfo
- TODO
-
unresolved
- Overrides:
unresolved
in classJavaElement
-