final class VirtualDeclaredMethod extends DeclaredMethod
Represents a method belonging to the API of the specified class type, where the original method definition is not available (in the context of the current analysis). Note that one VirtualDeclaredMethod may represent more than one actual method, because a class may have several package-private methods with the same signature.
- Source
- DeclaredMethod.scala
- Alphabetic
- By Inheritance
- VirtualDeclaredMethod
- DeclaredMethod
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def asDefinedMethod: DefinedMethod
The definition of this method; defined iff hasSingleDefinedMethod returns
true
.The definition of this method; defined iff hasSingleDefinedMethod returns
true
.- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMultipleDefinedMethods: MultipleDefinedMethods
The definition of this method; defined iff hasMultipleDefinedMethods returns
true
.The definition of this method; defined iff hasMultipleDefinedMethods returns
true
.- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val declaringClassType: ObjectType
The declaring type; the returned type may not define the method; it could be defined by one or more super classes/interfaces in case of Java 8+.
The declaring type; the returned type may not define the method; it could be defined by one or more super classes/interfaces in case of Java 8+.
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- def definedMethod: Method
Returns the defined method related to this declared method.
Returns the defined method related to this declared method. The defined method is always either defined by the same class or a superclass thereof.
The behavior of this method is undefined if hasSingleDefinedMethod returns false.
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- def definedMethods: ArraySeq[Method]
Returns the defined method related to this declared method.
Returns the defined method related to this declared method. The defined method is always either defined by the same class or a superclass thereof.
The behavior of this method is undefined if hasMultipleDefinedMethods returns false.
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- val descriptor: MethodDescriptor
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- DeclaredMethod → AnyRef → Any
- def foreachDefinedMethod[U](f: (Method) => U): Unit
Executes the given function for each method definition.
Executes the given function for each method definition.
The behavior of this method is undefined if neither hasSingleDefinedMethod nor hasMultipleDefinedMethods returns true.
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasMultipleDefinedMethods: Boolean
If
true
, there are multiple methods that define this method and they can be iterated over using foreachDefinedMethod.If
true
, there are multiple methods that define this method and they can be iterated over using foreachDefinedMethod.- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- def hasSingleDefinedMethod: Boolean
If
true
, the method which actually defines this method (which may still be abstract!), is unique, known and is available using asDefinedMethod.If
true
, the method which actually defines this method (which may still be abstract!), is unique, known and is available using asDefinedMethod.- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- def hashCode(): Int
- Definition Classes
- DeclaredMethod → AnyRef → Any
- val id: Int
A unique ID.
A unique ID.
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isVirtualOrHasSingleDefinedMethod: Boolean
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- val name: String
- Definition Classes
- VirtualDeclaredMethod → DeclaredMethod
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toJava: String
- Definition Classes
- DeclaredMethod
- def toString(): String
- Definition Classes
- VirtualDeclaredMethod → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated