Class ClassInformation
java.lang.Object
com.offbynull.coroutines.instrumenter.asm.ClassInformation
Contains information about a class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClassInformation(String name, String superClassName, List<String> interfaces, boolean interfaceMarker) Construct aClassInformationobject. -
Method Summary
-
Field Details
-
name
-
superClassName
-
interfaces
-
interfaceMarker
private final boolean interfaceMarker
-
-
Constructor Details
-
ClassInformation
public ClassInformation(String name, String superClassName, List<String> interfaces, boolean interfaceMarker) Construct aClassInformationobject.- Parameters:
name- namesuperClassName- name of parent class (can benull)interfaces- interface namesinterfaceMarker-trueif class is an interface,falseotherwise- Throws:
NullPointerException- ifinterfacesisnullor containsnull, or ifnameisnull
-
-
Method Details
-
getName
Get the name.- Returns:
- name
-
getSuperClassName
Get the parent class name.- Returns:
- parent class name (may be
null)
-
getInterfaces
Gets the implemented interfaces.- Returns:
- interfaces
-
isInterface
public boolean isInterface()Whether or not this class is an interface.- Returns:
trueif this class is an interface,falseotherwise
-
hashCode
public int hashCode() -
equals
-