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 aClassInformation
object. -
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 aClassInformation
object.- Parameters:
name
- namesuperClassName
- name of parent class (can benull
)interfaces
- interface namesinterfaceMarker
-true
if class is an interface,false
otherwise- Throws:
NullPointerException
- ifinterfaces
isnull
or containsnull
, or ifname
isnull
-
-
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:
true
if this class is an interface,false
otherwise
-
hashCode
public int hashCode() -
equals
-