Class

sigma.reflection

SRClass

Related Doc: package reflection

Permalink

class SRClass[T] extends RClass[T]

Represents a class in an Sigma Reflection metadata. Extends RClass by providing a concrete implementation without relying on Java reflection.

Linear Supertypes
RClass[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SRClass
  2. RClass
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SRClass(clazz: Class[T], constructors: Seq[SRConstructor[_]], fields: Map[String, SRField], methods: Map[(String, Seq[Class[_]]), RMethod])

    Permalink

    clazz

    the java.lang.Class being represented

    constructors

    the constructors of the class

    fields

    the fields of the class (name -> field)

    methods

    the methods of the class ((name, parameterTypes) -> method)

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 def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val clazz: Class[T]

    Permalink

    the java.lang.Class being represented

  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  8. def equals(other: Any): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def getConstructors(): Seq[RConstructor[_]]

    Permalink

    Returns an array containing RConstructor objects reflecting all public constructors of this RClass

    Returns an array containing RConstructor objects reflecting all public constructors of this RClass

    Definition Classes
    SRClassRClass
  12. def getDeclaredMethods(): Array[RMethod]

    Permalink

    Returns an array containing RMethod objects reflecting all declared methods of this RClass

    Returns an array containing RMethod objects reflecting all declared methods of this RClass

    Definition Classes
    SRClassRClass
  13. def getField(fieldName: String): RField

    Permalink

    Returns an RField object representing a field with the specified name within this RClass.

    Returns an RField object representing a field with the specified name within this RClass.

    returns

    An RField object representing a field with the specified name within this RClass.

    Definition Classes
    SRClassRClass
  14. def getMethod(name: String, parameterTypes: Class[_]*): RMethod

    Permalink

    Returns an RMethod object representing a method with the specified name and parameter types within this RClass.

    Returns an RMethod object representing a method with the specified name and parameter types within this RClass.

    name

    The name of the method to retrieve

    parameterTypes

    A list of classes representing each parameter type

    returns

    An RMethod object representing a method with the specified name and parameter types within this RClass.

    Definition Classes
    SRClassRClass
  15. def getName: String

    Permalink

    Returns the fully qualified name of this class.

    Returns the fully qualified name of this class.

    Definition Classes
    SRClassRClass
  16. def getSimpleName: String

    Permalink

    Returns the simple name (i.e.

    Returns the simple name (i.e. without package) of this class.

    Definition Classes
    SRClassRClass
  17. def getSuperclass(): RClass[_ >: T]

    Permalink

    Returns an RClass object representing the superclass of this RClass.

    Returns an RClass object representing the superclass of this RClass.

    Definition Classes
    SRClassRClass
  18. def hashCode(): Int

    Permalink
    Definition Classes
    SRClass → AnyRef → Any
  19. def isAssignableFrom(cls: Class[_]): Boolean

    Permalink

    Returns a boolean indicating whether or not instances of the specified class can be assigned to variables of this RClass.

    Returns a boolean indicating whether or not instances of the specified class can be assigned to variables of this RClass.

    cls

    The class to check

    returns

    A boolean indicating whether or not instances of the specified class can be assigned to variables of this RClass

    Definition Classes
    SRClassRClass
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isPrimitive(): Boolean

    Permalink

    Returns a boolean indicating whether or not this RClass represents a primitive type.

    Returns a boolean indicating whether or not this RClass represents a primitive type.

    Definition Classes
    SRClassRClass
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RClass[T]

Inherited from AnyRef

Inherited from Any

Ungrouped