public final class PandaDynamicClass extends Object implements DynamicClass
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
changedImplementation |
protected boolean |
changedStructure |
protected boolean |
frozen |
protected Class<?> |
implementation |
protected Collection<DynamicClass> |
interfaces |
protected String |
model |
protected String |
module |
protected String |
name |
protected Class<?> |
structure |
protected DynamicClass |
superclass |
protected Type |
type |
| Constructor and Description |
|---|
PandaDynamicClass(Type type,
Class<?> clazz) |
PandaDynamicClass(Type type,
Class<?> clazz,
String customName,
String module) |
PandaDynamicClass(Type type,
String name,
String module,
String model) |
| Modifier and Type | Method and Description |
|---|---|
DynamicClass |
append(Type toAppend) |
boolean |
equals(Object o) |
DynamicClass |
extendClass(DynamicClass superclass) |
Class<?> |
fetchImplementation() |
Class<?> |
fetchStructure() |
String |
getModel() |
String |
getModule() |
String |
getName() |
String |
getSimpleName() |
int |
hashCode() |
DynamicClass |
implementInterface(DynamicClass interfaceClass) |
boolean |
isAssignableFrom(Class<?> cls) |
boolean |
isAssignableTo(Class<?> cls) |
boolean |
isClass() |
boolean |
isInterface() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisAssignableFromprotected final Type type
protected final String name
protected final String module
protected final String model
protected final Collection<DynamicClass> interfaces
protected DynamicClass superclass
protected boolean frozen
protected Class<?> structure
protected Class<?> implementation
protected boolean changedStructure
protected boolean changedImplementation
public PandaDynamicClass(Type type, Class<?> clazz, String customName, String module)
public DynamicClass append(Type toAppend)
append in interface DynamicClasspublic DynamicClass extendClass(DynamicClass superclass)
extendClass in interface DynamicClasspublic DynamicClass implementInterface(DynamicClass interfaceClass)
implementInterface in interface DynamicClasspublic boolean isAssignableFrom(Class<?> cls)
isAssignableFrom in interface DynamicClasspublic boolean isAssignableTo(Class<?> cls)
isAssignableTo in interface DynamicClasspublic boolean isClass()
isClass in interface DynamicClasspublic boolean isInterface()
isInterface in interface DynamicClasspublic Class<?> fetchImplementation()
fetchImplementation in interface DynamicClasspublic Class<?> fetchStructure()
fetchStructure in interface DynamicClasspublic String getModel()
getModel in interface DynamicClasspublic String getModule()
getModule in interface DynamicClasspublic String getSimpleName()
getSimpleName in interface DynamicClasspublic String getName()
getName in interface DynamicClassCopyright © 2020. All rights reserved.