final case class ConstantString(value: String) extends ConstantFieldValue[String] with Product with Serializable
- Alphabetic
- By Inheritance
- ConstantString
- Serializable
- Serializable
- Product
- Equals
- ConstantFieldValue
- ConstantValue
- BootstrapArgument
- Attribute
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ConstantString(value: String)
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
kindId: Int
Returns the unique ID that identifies this kind of attribute (Signature, LineNumberTable, ...)
Returns the unique ID that identifies this kind of attribute (Signature, LineNumberTable, ...)
This id can then be used in a switch statement to efficiently identify the attribute.
(attribute.id : @scala.annotation.switch) match { case Signature.Id => ... }
Associating Unique Id
The unique ids are manually associated with the attributes. The attributes use the following IDs:
- (-1 Unknown Attribute)
- 1-5 The ConstantValue Attribute
- 6 The Code Attribute
- 7 The StackMapTable Attribute
- 8 The Exceptions Attribute
- 9 The InnerClasses Attribute
- 10 The EnclosingMethod Attribute
- 11 The Synthetic Attribute
- 12-16 The Signature Attribute
- 17 The SourceFile Attribute
- 18 The SourceDebugExtension Attribute
- 19 The LineNumberTable Attribute
- 20 The LocalVariableTable Attribute
- 21 The LocalVariableTypeTable Attribute
- 22 The Deprecated Attribute
- 23 The RuntimeVisibleAnnotations Attribute
- 24 The RuntimeInvisibleAnnotations Attribute
- 25 The RuntimeVisibleParameterAnnotations Attribute
- 26 The RuntimeInvisibleParameterAnnotations Attribute
- 27 The RuntimeVisibleTypeAnnotations Attribute
- 28 The RuntimeInvisibleTypeAnnotations Attribute
- 29-41 The AnnotationDefault Attribute
- 42 The BootstrapMethods Attribute
- 43 The MethodParameters Attribute
- 44 The Module Attribute (Java 9)
- 45 The ModuleMainClass Attribute (Java 9)
- 46 The ModulePackages Attribute (Java 9)
- 1001 OPAL's VirtualTypeFlag Attribute
- 1002 OPAL's SynthesizedClassFiles Attribute
- 1003 OPAL's TACode Attribute (the 3-Address Code)
- Definition Classes
- ConstantString → Attribute
-
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()
-
def
similar(other: Attribute, config: SimilarityTestConfiguration): Boolean
Returns true if this attribute and the given one are guaranteed to be indistinguishable at runtime.
Returns true if this attribute and the given one are guaranteed to be indistinguishable at runtime.
- Definition Classes
- ConstantFieldValue → Attribute
- Note
If this class is implemented as a proper
case class, this method can often be implemented by forwarding to the defaultequalsmethod.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBoolean: Boolean
- Definition Classes
- ConstantValue
-
def
toByte: Byte
- Definition Classes
- ConstantValue
-
def
toChar: Char
- Definition Classes
- ConstantValue
-
def
toDouble: Double
- Definition Classes
- ConstantValue
-
def
toFloat: Float
- Definition Classes
- ConstantValue
-
def
toInt: Int
- Definition Classes
- ConstantValue
-
final
def
toJava: String
- Definition Classes
- ConstantString → BootstrapArgument
-
def
toLong: Long
- Definition Classes
- ConstantValue
-
def
toReferenceType: ReferenceType
- Definition Classes
- ConstantValue
-
def
toShort: Short
- Definition Classes
- ConstantValue
-
def
toUTF8: String
- Definition Classes
- ConstantString → ConstantValue
-
val
value: String
The concrete value.
The concrete value.
- Definition Classes
- ConstantString → ConstantValue
-
def
valueToString: String
A string representation of the concrete value; used for debugging purposes.
A string representation of the concrete value; used for debugging purposes.
- Definition Classes
- ConstantString → ConstantValue
-
def
valueType: ObjectType
The (runtime) type of the concrete value.
The (runtime) type of the concrete value.
- Definition Classes
- ConstantString → ConstantValue
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )