public final class AdapterDefinition
extends java.lang.Object
Constructor and Description |
---|
AdapterDefinition(java.lang.ClassLoader classLoader,
java.lang.String name,
java.lang.String parent) |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getClassLoader() |
java.util.Map<java.lang.String,FunctionReference> |
getImplementations() |
java.util.Set<java.lang.String> |
getInterfaces() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,FunctionReference> |
getOverrides() |
java.lang.String |
getParent() |
boolean |
hasStarImplementation() |
boolean |
hasStarOverride() |
AdapterDefinition |
implementsInterface(java.lang.String iface) |
AdapterDefinition |
implementsMethod(java.lang.String name,
FunctionReference target) |
AdapterDefinition |
overridesMethod(java.lang.String name,
FunctionReference target) |
AdapterDefinition |
validate() |
public AdapterDefinition(java.lang.ClassLoader classLoader, java.lang.String name, java.lang.String parent)
public java.lang.ClassLoader getClassLoader()
public java.lang.String getName()
public java.lang.String getParent()
public java.util.Set<java.lang.String> getInterfaces()
public java.util.Map<java.lang.String,FunctionReference> getImplementations()
public java.util.Map<java.lang.String,FunctionReference> getOverrides()
public AdapterDefinition implementsInterface(java.lang.String iface)
public AdapterDefinition implementsMethod(java.lang.String name, FunctionReference target) throws AdapterDefinitionProblem
AdapterDefinitionProblem
public AdapterDefinition overridesMethod(java.lang.String name, FunctionReference target) throws AdapterDefinitionProblem
AdapterDefinitionProblem
public boolean hasStarImplementation()
public boolean hasStarOverride()
public AdapterDefinition validate() throws AdapterDefinitionProblem
AdapterDefinitionProblem