public class ResolvedBinaryMethod extends BinaryMethod
erasedParamaterTypes, exceptionTypes, parameterNames, parameterTypes, returnTypenameoccurrenceCountJEM_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, parentANNOTATION, 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| Constructor and Description |
|---|
ResolvedBinaryMethod(JavaElement parent,
java.lang.String name,
java.lang.String[] parameterTypes,
java.lang.String uniqueKey)
The parameter type signatures are expected to be dot-based.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Returns the binding key for this method only if the given method is
resolved. |
java.lang.String |
getKey(boolean forceOpen) |
boolean |
isResolved()
Returns whether this method represents a resolved method.
|
protected void |
toStringInfo(int tab,
java.lang.StringBuffer buffer,
java.lang.Object info,
boolean showResolvedInfo)
Debugging purposes
|
JavaElement |
unresolved() |
equals, getAnnotations, getAttachedJavadoc, getDefaultValue, getElementType, getExceptionTypes, getFlags, getHandleMemento, getHandleMementoDelimiter, getNumberOfParameters, getParameterNames, getParameters, getParameterTypes, getRawParameterNames, getReturnType, getSignature, getTypeParameter, getTypeParameters, getTypeParameterSignatures, hashCode, isConstructor, isLambdaMethod, isMainMethod, isSimilar, readableName, resolved, toStringName, toStringNamecopy, getAnnotations, getCategories, getNameRange, getSourceRange, getStandardAnnotations, isBinary, isStructureKnown, move, rename, setContentsgetElementName, getFullyQualifiedName, getFullyQualifiedParameterizedName, getKey, getKey, getKey, getOccurrenceCountSignature, getPackageFragment, getTypeQualifiedName, resolveType, resolveTypeareSimilarMethods, convertConstant, findMethods, getClassFile, getDeclaringType, getHandleFromMemento, getJavadocRange, getOuterMostLocalContext, getType, getTypeRoot, isMainMethod, isReadOnlyclosing, createElementInfo, delete, findNode, generateInfos, getAnnotation, getCompilationUnit, getCorrespondingResource, getHandleUpdatingCountFromMemento, getOccurrenceCount, getOpenableParent, getPath, getSource, getUnderlyingResource, hasChildren, resourceappendEscapedDelimiter, close, escapeMementoName, exists, getAncestor, getChildren, getChildrenOfType, getElementInfo, getElementInfo, getHandleFromMemento, getHandleIdentifier, getHandleMemento, getJavadocBaseLocation, getJavaModel, getJavaProject, getLibraryJavadocLocation, getOpenable, getParent, getPrimaryElement, getPrimaryElement, getResource, getSchedulingRule, getSourceElementAt, getSourceMapper, getURLContents, isAncestorOf, newDoesNotExistStatus, newJavaModelException, newNotPresentException, openWhenClosed, tabString, toDebugString, toString, toString, toStringAncestors, toStringChildren, toStringInfo, toStringWithAncestors, toStringWithAncestors, validateAndCacheclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetElementNamegetCategories, getClassFile, getCompilationUnit, getDeclaringType, getJavadocRange, getOccurrenceCount, getType, getTypeRoot, isBinaryexists, getAncestor, getCorrespondingResource, getHandleIdentifier, getJavaModel, getJavaProject, getOpenable, getParent, getPath, getPrimaryElement, getResource, getSchedulingRule, getUnderlyingResource, isReadOnly, isStructureKnownexists, getNameRange, getSource, getSourceRangecopy, delete, move, renamegetChildren, hasChildrengetAnnotationpublic ResolvedBinaryMethod(JavaElement parent, java.lang.String name, java.lang.String[] parameterTypes, java.lang.String uniqueKey)
public java.lang.String getKey()
IMethodresolved.
A binding key is a key that uniquely identifies this method. It allows access to:
Object.getClass()If the given method is not resolved, the returned key is simply the java element's key.
getKey in interface IMethodgetKey in class BinaryMemberIBinding.getKey(),
BindingKey,
IMethod.isResolved()public java.lang.String getKey(boolean forceOpen)
throws JavaModelException
getKey in class BinaryMethodJavaModelExceptionBinding.computeUniqueKey()public boolean isResolved()
IMethodisResolved in interface IMethodisResolved in class BinaryMethodprotected void toStringInfo(int tab,
java.lang.StringBuffer buffer,
java.lang.Object info,
boolean showResolvedInfo)
JavaElementtoStringInfo in class BinaryMethodshowResolvedInfo - TODOpublic JavaElement unresolved()
unresolved in class JavaElement