Object/Class

org.opalj.br

Method

Related Docs: class Method | package br

Permalink

object Method

Defines factory and extractor methods for Method objects.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Method
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val ACC_NATIVEAndVARARGS: Int

    Permalink
  5. def apply(accessFlags: Int = ACC_ABSTRACT.mask | ACC_PUBLIC.mask, name: String, parameterTypes: IndexedSeq[FieldType] = IndexedSeq.empty, returnType: Type = VoidType, attributes: Attributes = Seq.empty[Attribute]): Method

    Permalink

    Factory method for Method objects.

    Factory method for Method objects.

    Example:
    1. A new method that is public abstract that takes no parameters and returns void and has the name "myMethod" can be created as shown next:

      val myMethod = Method(name="myMethod");
  6. def apply(accessFlags: Int, name: String, descriptor: MethodDescriptor, attributes: Attributes): Method

    Permalink

    name

    The name of the method. In case of a constructor the method name has to be "<init>". In case of a static initializer the name has to be "<clinit>".

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isObjectSerializationRelated(method: Method, isInheritedBySerializableOnlyClass: ⇒ Answer, isInheritedByExternalizableClass: ⇒ Answer): Boolean

    Permalink

    Returns true if the method is object serialization related.

    Returns true if the method is object serialization related. That is, if the declaring class is Externalizable then the methods readObject and writeObject are unused. If the declaring class is only Seralizable then the write and read external methods are not serialization related unless a subclass exists that inherits these two methods and implements the interface Externalizable.

    method

    A method defined by a class that inherits from Serializable or which has at least one sublcass that is Serializable and that inherits the given method.

    isInheritedBySerializableOnlyClass

    This parameter should be Yes iff this method is defined in a Serializable class or is inherited by at least one class that is (just) Serializable, but which is not Externalizable.

    isInheritedByExternalizableClass

    This parameter should be Yes iff the method's defining class is Externalizable or if this method is inherited by at least one class that is Externalizable.

    Note

    Calling this method only makes sense if the given class or a subclass thereof is at least Serializable.

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final val readObjectDescriptor: MethodDescriptor

    Permalink
  20. final val readObjectInputDescriptor: MethodDescriptor

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def unapply(method: Method): Option[(Int, String, MethodDescriptor)]

    Permalink
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final val writeObjectDescriptor: MethodDescriptor

    Permalink
  28. final val writeObjectOutputDescriptor: MethodDescriptor

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped