final class VirtualFormalParameter extends AnyRef
Explicitly models a formal parameter of a DeclaredMethod to make it possible to store it in the property store and to compute properties for it.
The first parameter explicitly defined by the method will have the origin -2
, the second one
will have the origin -3
and so on.
That is, the origin of an explicitly declared parameter is always -(parameter_index + 2)
.
The origin of the this
parameter is -1
.
- Source
- VirtualFormalParameter.scala
- Note
The computational type category of the parameters is ignored to ease the mapping.
,This encoding is also used by the default three address code representation generated using a local data-flow analysis (see org.opalj.tac.TACAI). In case of the bytecode based data-flow analysis the origin used by the analysis reflects the position of the parameter value on the tac; see org.opalj.ai.parameterIndexToValueOrigin.
- Alphabetic
- By Inheritance
- VirtualFormalParameter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VirtualFormalParameter(method: DeclaredMethod, origin: Int)
- method
The virtual method which contains the formal parameter.
- origin
The origin associated with the parameter. See the general description for further details.
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- VirtualFormalParameter → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- VirtualFormalParameter → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val method: DeclaredMethod
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val origin: Int
- def parameterIndex: Int
- returns
The index of the parameter or -1 if this formal parameter reflects the implicit
this
value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- VirtualFormalParameter → AnyRef → Any
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated