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, put
contains, get, getChildren, getFullName, getName, getParent, put
compareTo
public 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 Node
toString
in class AbstractNode
public ConstructorDef<T> getConstructorDef(ClassNode<?>... paramTypes) throws BindException
getConstructorDef
in interface ClassNode<T>
BindException
public 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.