public class FactoryMethod extends Method
| Modifier and Type | Field and Description |
|---|---|
private boolean |
primary
Tells if this factory method is the most complete one and this the one to use for data conversions etc.
|
declaringType, implementationInfo, javaDoc, modifiers, overriddenByMethod, overridesMethod, parameters, returnType, templateName, thrownTypesannotations, clazz, declaredModifiers, nameMAX_RECURSIVE_LEVEL, NO_DETAILS_LEVEL| Constructor and Description |
|---|
FactoryMethod(BasicClazz clazz,
Type declaringType,
String methodName,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
EnumSet<Modifier> modifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
TemplateKind templateKind) |
FactoryMethod(BasicClazz clazz,
Type declaringType,
String methodName,
Type returnType,
List<Parameter> parameters,
List<Type> thrownTypes,
String javaDoc,
boolean primary,
EnumSet<Modifier> declaredModifiers,
List<Annotation> annotations,
ImplementationInfo implementationInfo,
TemplateKind templateKind) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFactoryMethod()
Checks if the method is a static factory method.
|
boolean |
isPrimary()
Checks if the method is the most complete creation method and thus the one to use for construction .
|
getDeclaringType, getImplementationInfo, getJavaDoc, getModifiers, getOverloadName, getOverloadName, getOverriddenByMethod, getOverridesMethod, getPackageName, getParameters, getQualifiedName, getReturnType, getTemplateName, getThrownTypes, isConstructor, isDeclared, isDelegating, isOverridden, isThisReturnType, print, setImplementationInfo, setOverriddenByMethodgetAnnotations, getClazz, getConfiguration, getDeclaredModifiers, getNameprintExtraBottom, printExtraTop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isTransientgetGeneratedClazz, getVariablesPrefix, isInDefaultPackageprivate final boolean primary
public FactoryMethod(BasicClazz clazz, Type declaringType, String methodName, Type returnType, List<Parameter> parameters, List<Type> thrownTypes, String javaDoc, boolean primary, EnumSet<Modifier> declaredModifiers, List<Annotation> annotations, ImplementationInfo implementationInfo, TemplateKind templateKind)
public FactoryMethod(BasicClazz clazz, Type declaringType, String methodName, Type returnType, List<Parameter> parameters, List<Type> thrownTypes, String javaDoc, boolean primary, EnumSet<Modifier> declaredModifiers, EnumSet<Modifier> modifiers, List<Annotation> annotations, ImplementationInfo implementationInfo, TemplateKind templateKind)
public boolean isFactoryMethod()
MethodisFactoryMethod in class Method
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.