Packages

c

org.opalj.br

DeclaredMethod

sealed abstract class DeclaredMethod extends AnyRef

Represents a declared method of a class identified by declaringClassType; that is, a method which belongs to the API of the class itself or a super class thereof.

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

Abstract Value Members

  1. abstract def asDefinedMethod: DefinedMethod

    The definition of this method; defined iff hasSingleDefinedMethod returns true.

  2. abstract def asMultipleDefinedMethods: MultipleDefinedMethods

    The definition of this method; defined iff hasMultipleDefinedMethods returns true.

  3. abstract def 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+.

  4. abstract 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.

  5. abstract def definedMethods: ConstArray[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.

  6. abstract def descriptor: MethodDescriptor
  7. abstract 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.

  8. abstract def hasMultipleDefinedMethods: Boolean

    If true, there are multiple methods that define this method and they can be iterated over using foreachDefinedMethod.

  9. abstract 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.

  10. abstract val id: Int

    A unique ID.

  11. abstract def isVirtualOrHasSingleDefinedMethod: Boolean
  12. abstract def name: String

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(other: Any): Boolean
    Definition Classes
    DeclaredMethod → AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    DeclaredMethod → AnyRef → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toJava: String
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped