Packages

c

org.opalj.br

DefinedMethod

final class DefinedMethod extends DeclaredMethod

Represents a declared method; i.e., a method which belongs to the (public and private) API of a class along with a reference to the original declaration.

Source
DeclaredMethod.scala
Linear Supertypes
DeclaredMethod, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefinedMethod
  2. DeclaredMethod
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
    DefinedMethodDeclaredMethod
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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
    DefinedMethodDeclaredMethod
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. 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
    DefinedMethodDeclaredMethod
  9. val 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
    DefinedMethodDeclaredMethod
  10. 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
    DefinedMethodDeclaredMethod
  11. def descriptor: MethodDescriptor
    Definition Classes
    DefinedMethodDeclaredMethod
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(other: Any): Boolean
    Definition Classes
    DeclaredMethod → AnyRef → Any
  14. 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
    DefinedMethodDeclaredMethod
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. 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
    DefinedMethodDeclaredMethod
  17. 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
    DefinedMethodDeclaredMethod
  18. def hashCode(): Int
    Definition Classes
    DeclaredMethod → AnyRef → Any
  19. val id: Int

    A unique ID.

    A unique ID.

    Definition Classes
    DefinedMethodDeclaredMethod
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isVirtualOrHasSingleDefinedMethod: Boolean
    Definition Classes
    DefinedMethodDeclaredMethod
  22. def name: String
    Definition Classes
    DefinedMethodDeclaredMethod
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toJava: String
    Definition Classes
    DeclaredMethod
  28. def toString(): String
    Definition Classes
    DefinedMethod → AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from DeclaredMethod

Inherited from AnyRef

Inherited from Any

Ungrouped