Class ZClass
java.lang.Object
dxt.scanpath.v2.bc.ZClass
Encapsulates metadata for a class read directly from a class file.
The metadata includes the class name, availability of class-file data, superclass, implemented interfaces, runtime-visible annotations, fields, and methods.
- Author:
- indroneel
-
Method Summary
Modifier and TypeMethodDescriptionReturns the types of the class's runtime-visible annotations.Returns the fields declared by this class.Returns the interfaces implemented by this class.Returns the methods declared by this class.getName()Returns the fully qualified class name.Returns the superclass metadata.booleanIndicates whether classfile data was available when this object was created.
-
Method Details
-
getName
-
isAvailable
public boolean isAvailable()Indicates whether classfile data was available when this object was created.- Returns:
trueif the class was parsed from class-file data; otherwise,false
-
getInterfaces
-
getSuperClass
Returns the superclass metadata.- Returns:
- the superclass, or
nullif no superclass is present
-
getAnnotations
-
getFields
-
getMethods
-