Packages

case object NoEscape extends FinalEscapeProperty with Product with Serializable

The object is accessible only from within the method of creation. Objects with this escape level are also referred to as being method-local.

* @example Given the following code:

public class Circle{
 public int area;
 public final static int PI = 3;

 public Circle(int radius){
  this.area = PI*radius*radius;
 }

 public static int areaOfCircle(int r) {
  Circle c = new Circle(3);        // ALLOCATION SITE
  return c.area;
 }
}
Source
EscapeProperty.scala
See also

EscapeProperty for further details.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoEscape
  2. Serializable
  3. Product
  4. Equals
  5. FinalEscapeProperty
  6. EscapeProperty
  7. EscapePropertyMetaInformation
  8. ExplicitlyNamedProperty
  9. OrderedProperty
  10. Property
  11. PropertyMetaInformation
  12. PropertyKind
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final type Self = EscapeProperty

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 val PID: Int(0)
  5. def asAggregatedProperty: VirtualMethodEscapeProperty
    Definition Classes
    EscapeProperty
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def asOrderedProperty: OrderedProperty

    Returns this if this property inherits from OrderedProperty.

    Returns this if this property inherits from OrderedProperty.

    Used, e.g., by the framework to support debugging analyses.

    Definition Classes
    Property
  8. def bottomness: Int

    Returns a value between zero and 9 which describes how close the value is to its absolute bottom.

    Returns a value between zero and 9 which describes how close the value is to its absolute bottom. Zero means the value is very close to the bottom and 9 means the value is far away from the bottom.

    The default value is "5".

    Definition Classes
    OrderedProperty
  9. def checkIsEqualOrBetterThan(e: Entity, other: Self): Unit

    Tests if this property is equal or better than the given one (better means that the value is above the given value in the underlying lattice.)

    Tests if this property is equal or better than the given one (better means that the value is above the given value in the underlying lattice.)

    Definition Classes
    EscapePropertyOrderedProperty
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def id: Int

    The id uniquely identifies this property's category.

    The id uniquely identifies this property's category. All property objects of the same kind have to use the same id which is guaranteed since they share the same PropertyKey

    Definition Classes
    PropertyMetaInformationPropertyKind
  15. def isBottom: Boolean

    Is this the bottom value of the lattice, i.e.

    Is this the bottom value of the lattice, i.e. GlobalEscape, EscapeViaHeapObject or EscapeViaStaticField.

    Definition Classes
    NoEscapeEscapeProperty
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def isOrderedProperty: Boolean

    Returns true if this property inherits from OrderedProperty.

    Returns true if this property inherits from OrderedProperty.

    Definition Classes
    Property
  18. def isTop: Boolean

    Is this the top value of the lattice, i.e.

    Is this the top value of the lattice, i.e. NoEscape.

    Definition Classes
    NoEscapeEscapeProperty
  19. final def key: PropertyKey[EscapeProperty]

    The key uniquely identifies this property's category.

    The key uniquely identifies this property's category. All property objects of the same kind have to use the same key.

    In general each Property kind is expected to have a companion object that stores the unique PropertyKey.

    Definition Classes
    EscapePropertyPropertyMetaInformation
  20. final def lessOrEqualRestrictive(that: EscapeProperty): Boolean

    Tests if this property describes equal or less restricted escapes than the given property. That is if the lifetime OR access bound of the property is greater or equal than that.

    Tests if this property describes equal or less restricted escapes than the given property. That is if the lifetime OR access bound of the property is greater or equal than that. E.g., returns true if this property identifies values which GlobalEscape and the given property (that) refers to values that NoEscape.

    Definition Classes
    NoEscapeEscapeProperty
    See also

    EscapeProperty for further details.

  21. def meet(that: FinalEscapeProperty): FinalEscapeProperty
    Definition Classes
    NoEscapeFinalEscapeProperty
  22. def meet(that: EscapeProperty): EscapeProperty

    Computes the greatest lower bound of this and that property values.

    Computes the greatest lower bound of this and that property values.

    that

    the other escape property value.

    returns

    the most restrictive escape that is less or equal restrictive than this and that.

    Definition Classes
    NoEscapeEscapeProperty
    See also

    EscapeProperty.lessOrEqualRestrictive

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def productElementName(n: Int): String
    Definition Classes
    Product
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def propertyName: String

    The name of the property.

    The name of the property.

    Definition Classes
    NoEscapeExplicitlyNamedProperty
  29. def propertyValueID: Int

    A unique id for every escape property.

    A unique id for every escape property. Used for table switches.

    Definition Classes
    NoEscapeEscapeProperty
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FinalEscapeProperty

Inherited from EscapeProperty

Inherited from OrderedProperty

Inherited from Property

Inherited from PropertyKind

Inherited from AnyRef

Inherited from Any

Ungrouped