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.
- Alphabetic
- By Inheritance
- SRClass
- RClass
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SRClass(clazz: Class[T], constructors: Seq[SRConstructor[_]], fields: Map[String, SRField], methods: Map[(String, Seq[Class[_]]), RMethod])
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clazz: Class[T]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- SRClass → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConstructors(): Seq[RConstructor[_]]
Returns an array containing
RConstructor
objects reflecting all public constructors of thisRClass
- def getDeclaredMethods(): Array[RMethod]
Returns an array containing
RMethod
objects reflecting all declared methods of thisRClass
- def getField(fieldName: String): RField
Returns an
RField
object representing a field with the specified name within thisRClass
. - def getMethod(name: String, parameterTypes: Class[_]*): RMethod
Returns an
RMethod
object representing a method with the specified name and parameter types within thisRClass
.Returns an
RMethod
object representing a method with the specified name and parameter types within thisRClass
.- 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 thisRClass
.
- def getName: String
Returns the fully qualified name of this class.
- def getSimpleName: String
Returns the simple name (i.e.
- def getSuperclass(): RClass[_ >: T]
Returns an
RClass
object representing the superclass of thisRClass
. - def hashCode(): Int
- Definition Classes
- SRClass → AnyRef → Any
- def isAssignableFrom(cls: Class[_]): Boolean
Returns a boolean indicating whether or not instances of the specified class can be assigned to variables of this
RClass
. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrimitive(): Boolean
Returns a boolean indicating whether or not this
RClass
represents a primitive type. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]) @native()