Package pascal.taie.language.generics
Class ClassTypeGSignature
java.lang.Object
pascal.taie.language.generics.ClassTypeGSignature
- All Implemented Interfaces:
Serializable
,ReferenceTypeGSignature
,TypeGSignature
In
JVM Spec. 4.7.9.1 ClassTypeSignature,
a class type signature represents a (possibly parameterized) class or interface type.
For example, the bytecode signature and the corresponding Java generic are:
Ljava/lang/String;
andString
Ljava/util/HashMap<TK;TV;>;
andjava.util.HashMap<K, V>
-
Lorg/example/Generic<TT1;>.Inner1<TT2;>.Inner2<TT3;>;
andorg.example.Generic<T1>.Inner1<T2>.Inner2<T3>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final ClassTypeGSignature
static final String
-
Method Summary
-
Field Details
-
JAVA_LANG
- See Also:
-
OBJECT
- See Also:
-
JAVA_LANG_OBJECT
-
-
Method Details
-
getPackageName
-
getSignatures
-
toString
-
isJavaLangObject
public boolean isJavaLangObject()- Specified by:
isJavaLangObject
in interfaceReferenceTypeGSignature
-