Package pascal.taie.language.classes
Class JField
java.lang.Object
pascal.taie.language.classes.ClassMember
pascal.taie.language.classes.JField
- All Implemented Interfaces:
Serializable
,Annotated
Represents fields in the program. Each instance contains various
information of a field, including field name, type, declaring class, etc.
- See Also:
-
Field Summary
Fields inherited from class pascal.taie.language.classes.ClassMember
annotationHolder, declaringClass, modifiers, name, signature
-
Constructor Summary
ConstructorDescriptionJField
(JClass declaringClass, String name, Set<Modifier> modifiers, Type type, ReferenceTypeGSignature gSignature, AnnotationHolder annotationHolder) -
Method Summary
Methods inherited from class pascal.taie.language.classes.ClassMember
getAnnotation, getAnnotations, getDeclaringClass, getModifiers, getName, getSignature, hasAnnotation, isApplication, isPrivate, isProtected, isPublic, isStatic
-
Constructor Details
-
JField
public JField(JClass declaringClass, String name, Set<Modifier> modifiers, Type type, @Nullable ReferenceTypeGSignature gSignature, AnnotationHolder annotationHolder)
-
-
Method Details
-
getType
-
getGSignature
-
getRef
- Returns:
- the
FieldRef
pointing to this field.
-
toString
- Overrides:
toString
in classClassMember
-