Package gw.internal.gosu.parser
Class AnnotationConstructorGenerator
- java.lang.Object
-
- gw.internal.gosu.parser.AnnotationConstructorGenerator
-
public class AnnotationConstructorGenerator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IRelativeTypeInfo_ownerstatic java.lang.ObjectSTANDARD_CTOR_WITH_DEFAULT_PARAM_VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateAnnotationConstructorGenerator(IRelativeTypeInfo owner)
-
Method Summary
-
-
-
Field Detail
-
STANDARD_CTOR_WITH_DEFAULT_PARAM_VALUES
public static final java.lang.Object STANDARD_CTOR_WITH_DEFAULT_PARAM_VALUES
-
_owner
private final IRelativeTypeInfo _owner
-
-
Constructor Detail
-
AnnotationConstructorGenerator
private AnnotationConstructorGenerator(IRelativeTypeInfo owner)
-
-
Method Detail
-
generateAnnotationConstructors
static java.util.List<IConstructorInfo> generateAnnotationConstructors(IRelativeTypeInfo backingClass)
-
addLegacyConstructors
private void addLegacyConstructors(IMethodInfo[] methods, java.util.ArrayList<IConstructorInfo> constructorInfoArrayList)
-
sortMethods
private static void sortMethods(IMethodInfo[] methods)
-
addCtor
private void addCtor(java.util.ArrayList<IConstructorInfo> list, IConstructorInfo ci)
-
hasArrayArgs
private boolean hasArrayArgs(IMethodInfo[] methods)
-
hasDefaultArgs
private boolean hasDefaultArgs(IMethodInfo[] methods)
-
makeStandardAnnotationConstructor
private IConstructorInfo makeStandardAnnotationConstructor(IMethodInfo[] methods)
-
makeLegacyArrayAnnotationConstructor
private IConstructorInfo makeLegacyArrayAnnotationConstructor(IMethodInfo[] methods)
-
makeLegacyAnnotationConstructor
private IConstructorInfo makeLegacyAnnotationConstructor(IMethodInfo[] methods)
-
makeLegacyAllArgsAnnotationConstructor
private IConstructorInfo makeLegacyAllArgsAnnotationConstructor(IMethodInfo[] methods)
-
makeDefaultValueExpression
private IExpression makeDefaultValueExpression(IMethodInfo method)
-
makeDefaultArrayAnnotationConstructor
private IConstructorInfo makeDefaultArrayAnnotationConstructor(IMethodInfo[] methods)
-
-