public class ClassNodeImpl<T> extends AbstractNode implements ClassNode<T>
| Constructor and Description |
|---|
ClassNodeImpl(Node parent,
String simpleName,
String fullName,
boolean unit,
boolean injectable,
boolean externalConstructor,
ConstructorDef<T>[] injectableConstructors,
ConstructorDef<T>[] allConstructors,
String defaultImplementation) |
| Modifier and Type | Method and Description |
|---|---|
ConstructorDef<T>[] |
getAllConstructors() |
ConstructorDef<T> |
getConstructorDef(ClassNode<?>... paramTypes) |
String |
getDefaultImplementation() |
ConstructorDef<T>[] |
getInjectableConstructors() |
Set<ClassNode<T>> |
getKnownImplementations() |
boolean |
isExternalConstructor() |
boolean |
isImplementationOf(ClassNode<?> inter) |
boolean |
isInjectionCandidate() |
boolean |
isUnit() |
void |
putImpl(ClassNode<T> impl) |
String |
toString() |
compareTo, contains, equals, get, getChildren, getFullName, getName, getParent, hashCode, putcontains, get, getChildren, getFullName, getName, getParent, putcompareTopublic ClassNodeImpl(Node parent, String simpleName, String fullName, boolean unit, boolean injectable, boolean externalConstructor, ConstructorDef<T>[] injectableConstructors, ConstructorDef<T>[] allConstructors, String defaultImplementation)
public ConstructorDef<T>[] getInjectableConstructors()
getInjectableConstructors in interface ClassNode<T>public ConstructorDef<T>[] getAllConstructors()
getAllConstructors in interface ClassNode<T>public boolean isInjectionCandidate()
isInjectionCandidate in interface ClassNode<T>public boolean isExternalConstructor()
isExternalConstructor in interface ClassNode<T>public String toString()
toString in interface NodetoString in class AbstractNodepublic ConstructorDef<T> getConstructorDef(ClassNode<?>... paramTypes) throws BindException
getConstructorDef in interface ClassNode<T>BindExceptionpublic Set<ClassNode<T>> getKnownImplementations()
getKnownImplementations in interface ClassNode<T>public boolean isImplementationOf(ClassNode<?> inter)
isImplementationOf in interface ClassNode<T>public String getDefaultImplementation()
getDefaultImplementation in interface ClassNode<T>Copyright © 2017 The Apache Software Foundation. All rights reserved.