public abstract class MethodImpl extends TypeComponentImpl implements com.sun.jdi.Method
Modifier and Type | Field and Description |
---|---|
protected Method |
saMethod |
protected VirtualMachineImpl |
vm |
declaringType, signature
Modifier and Type | Method and Description |
---|---|
java.util.List |
allLineLocations() |
java.util.List |
allLineLocations(java.lang.String stratumID,
java.lang.String sourceName) |
java.util.List |
argumentTypeNames() |
java.util.List |
argumentTypes() |
int |
compareTo(com.sun.jdi.Method method) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
genericSignature() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isBridge() |
boolean |
isConstructor() |
boolean |
isFinal() |
boolean |
isNative() |
boolean |
isObsolete() |
boolean |
isPackagePrivate() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isStaticInitializer() |
boolean |
isSynchronized() |
boolean |
isSynthetic() |
boolean |
isVarArgs() |
java.util.List |
locationsOfLine(int lineNumber) |
java.util.List |
locationsOfLine(java.lang.String stratumID,
java.lang.String sourceName,
int lineNumber) |
int |
modifiers() |
java.lang.String |
name() |
com.sun.jdi.Type |
returnType() |
java.lang.String |
returnTypeName() |
java.lang.String |
toString() |
com.sun.jdi.VirtualMachine |
virtualMachine() |
declaringType, signature
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected Method saMethod
protected VirtualMachineImpl vm
public java.lang.String genericSignature()
genericSignature
in interface com.sun.jdi.TypeComponent
public java.lang.String returnTypeName()
returnTypeName
in interface com.sun.jdi.Method
public com.sun.jdi.Type returnType() throws com.sun.jdi.ClassNotLoadedException
returnType
in interface com.sun.jdi.Method
com.sun.jdi.ClassNotLoadedException
public java.util.List argumentTypeNames()
argumentTypeNames
in interface com.sun.jdi.Method
public java.util.List argumentTypes() throws com.sun.jdi.ClassNotLoadedException
argumentTypes
in interface com.sun.jdi.Method
com.sun.jdi.ClassNotLoadedException
public boolean isAbstract()
isAbstract
in interface com.sun.jdi.Method
public boolean isBridge()
isBridge
in interface com.sun.jdi.Method
public boolean isSynchronized()
isSynchronized
in interface com.sun.jdi.Method
public boolean isNative()
isNative
in interface com.sun.jdi.Method
public boolean isVarArgs()
isVarArgs
in interface com.sun.jdi.Method
public boolean isConstructor()
isConstructor
in interface com.sun.jdi.Method
public boolean isStaticInitializer()
isStaticInitializer
in interface com.sun.jdi.Method
public boolean isObsolete()
isObsolete
in interface com.sun.jdi.Method
public final java.util.List allLineLocations() throws com.sun.jdi.AbsentInformationException
allLineLocations
in interface com.sun.jdi.Method
com.sun.jdi.AbsentInformationException
public java.util.List allLineLocations(java.lang.String stratumID, java.lang.String sourceName) throws com.sun.jdi.AbsentInformationException
allLineLocations
in interface com.sun.jdi.Method
com.sun.jdi.AbsentInformationException
public final java.util.List locationsOfLine(int lineNumber) throws com.sun.jdi.AbsentInformationException
locationsOfLine
in interface com.sun.jdi.Method
com.sun.jdi.AbsentInformationException
public java.util.List locationsOfLine(java.lang.String stratumID, java.lang.String sourceName, int lineNumber) throws com.sun.jdi.AbsentInformationException
locationsOfLine
in interface com.sun.jdi.Method
com.sun.jdi.AbsentInformationException
public boolean equals(java.lang.Object obj)
equals
in interface com.sun.jdi.Method
public int compareTo(com.sun.jdi.Method method)
compareTo
in interface java.lang.Comparable<com.sun.jdi.Method>
public java.lang.String toString()
toString
in interface com.sun.jdi.Mirror
toString
in class java.lang.Object
public java.lang.String name()
name
in interface com.sun.jdi.TypeComponent
name
in class TypeComponentImpl
public int modifiers()
modifiers
in interface com.sun.jdi.Accessible
modifiers
in class TypeComponentImpl
public boolean isPackagePrivate()
isPackagePrivate
in interface com.sun.jdi.Accessible
isPackagePrivate
in class TypeComponentImpl
public boolean isPrivate()
isPrivate
in interface com.sun.jdi.Accessible
isPrivate
in class TypeComponentImpl
public boolean isProtected()
isProtected
in interface com.sun.jdi.Accessible
isProtected
in class TypeComponentImpl
public boolean isPublic()
isPublic
in interface com.sun.jdi.Accessible
isPublic
in class TypeComponentImpl
public boolean isStatic()
isStatic
in interface com.sun.jdi.TypeComponent
isStatic
in class TypeComponentImpl
public boolean isSynthetic()
isSynthetic
in interface com.sun.jdi.TypeComponent
public boolean isFinal()
isFinal
in interface com.sun.jdi.TypeComponent
isFinal
in class TypeComponentImpl
public int hashCode()
hashCode
in interface com.sun.jdi.Method
hashCode
in class TypeComponentImpl
public com.sun.jdi.VirtualMachine virtualMachine()
virtualMachine
in interface com.sun.jdi.Mirror
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.