Class ZField
java.lang.Object
dxt.scanpath.v2.bc.ZField
Encapsulates metadata for a field read directly from a class file.
The metadata includes the field name, whether it is static, and the types of its annotations that are visible at runtime.
- Author:
- indroneel
-
Constructor Summary
ConstructorsConstructorDescriptionZField(ZClassContext ctxt, FieldModel fldMod) Creates field metadata from a classfile field model. -
Method Summary
-
Constructor Details
-
ZField
Creates field metadata from a classfile field model.- Parameters:
ctxt- the class context used to resolve annotation typesfldMod- the class-file model of the field
-
-
Method Details
-
getName
-
isStatic
public boolean isStatic()Indicates whether the field has thestaticmodifier.- Returns:
trueif the field is static; otherwise,false
-
getAnnotations
-