| java.lang.Object spoon.reflect.factory.SubFactory spoon.reflect.factory.ExecutableFactory spoon.reflect.factory.ConstructorFactory
ConstructorFactory | public ConstructorFactory(Factory factory)(Code) | | Creates a new constructor sub-factory.
Parameters: factory - the parent factory |
create | public CtConstructor<T> create(CtClass<T> target, CtConstructor> source)(Code) | | Copies a constructor into a target class.
Parameters: target - the target class Parameters: source - the constructor to be copied the new constructor |
create | public CtConstructor<T> create(CtClass<T> target, CtMethod> source)(Code) | | Creates a constructor into a target class by copying it from a source
method.
Parameters: target - the target class Parameters: source - the method to be copied the new constructor |
Methods inherited from spoon.reflect.factory.ExecutableFactory | public CtAnonymousExecutable createAnonymous(CtClass> target, CtBlock> body)(Code)(Java Doc) public CtParameter<T> createParameter(CtExecutable> parent, CtTypeReference<T> type, String name)(Code)(Java Doc) public CtParameterReference<T> createParameterReference(CtParameter<T> parameter)(Code)(Java Doc) public CtExecutableReference<T> createReference(CtExecutable<T> e)(Code)(Java Doc) public CtExecutableReference<T> createReference(CtTypeReference> declaringType, CtTypeReference<T> type, String methodName, CtTypeReference>... parameterTypes)(Code)(Java Doc) public CtExecutableReference<T> createReference(CtTypeReference> declaringType, boolean isStatic, CtTypeReference<T> type, String methodName, CtTypeReference>... parameterTypes)(Code)(Java Doc) public CtExecutableReference<T> createReference(CtTypeReference> declaringType, boolean isStatic, CtTypeReference<T> type, String methodName, List<CtTypeReference<?>> parameterTypes)(Code)(Java Doc) public CtExecutableReference<T> createReference(CtTypeReference> declaringType, CtTypeReference<T> type, String methodName, List<CtTypeReference<?>> parameterTypes)(Code)(Java Doc) public CtExecutableReference<T> createReference(String signature)(Code)(Java Doc)
|
|
|