Set<String> allStyleClassSet = Sets.newHashSet(styleClassesMapping.keySet());
allowedAtRules = Sets.newHashSet(ExternalClassesCollector.EXTERNAL_AT_RULE);
public GwtSpecificValidatorCreator(JClassType validatorType, JClassType beanType, BeanHelper beanHelper, TreeLogger logger, GeneratorContext context, BeanHelperCache cache, Class<?>[] validGroupsFromAnnotation) { super(context, logger, validatorType, cache); this.beanType = beanType; this.beanHelper = beanHelper; Set<Class<?>> tempValidGroups = Sets.newHashSet(validGroupsFromAnnotation); tempValidGroups.add(Default.class); this.validGroups = Collections.unmodifiableSet(tempValidGroups); }
public GwtSpecificValidatorCreator(JClassType validatorType, JClassType beanType, BeanHelper beanHelper, TreeLogger logger, GeneratorContext context, BeanHelperCache cache, Class<?>[] validGroupsFromAnnotation) { super(context, logger, validatorType, cache); this.beanType = beanType; this.beanHelper = beanHelper; Set<Class<?>> tempValidGroups = Sets.newHashSet(validGroupsFromAnnotation); tempValidGroups.add(Default.class); this.validGroups = Collections.unmodifiableSet(tempValidGroups); }
/** * constructor. * * @param validatorType jclass type of the validator * @param beanType jclass type of the bean * @param beanHelper bean helper * @param logger tree logger * @param context generator context * @param cache bean helper cache * @param validGroupsFromAnnotation arrray of validation groups */ public GwtSpecificValidatorCreator(final JClassType validatorType, final JClassType beanType, final BeanHelper beanHelper, final TreeLogger logger, final GeneratorContext context, final BeanHelperCache cache, final Class<?>[] validGroupsFromAnnotation) { super(context, logger, validatorType, cache); this.beanType = beanType; this.beanHelper = beanHelper; final Set<Class<?>> tempValidGroups = Sets.newHashSet(validGroupsFromAnnotation); tempValidGroups.add(Default.class); validGroups = Collections.unmodifiableSet(tempValidGroups); }
Set<String> allStyleClassSet = Sets.newHashSet(styleClassesMapping.keySet());
Set<String> allStyleClassSet = Sets.newHashSet(styleClassesMapping.keySet());
Set<String> uniqueNames = Sets.newHashSet(); for (JMethod method : type.getMethods()) { if (method.getEnclosingType().getQualifiedSourceName().equals(typeName)) {
final Set<String> uniqueNames = Sets.newHashSet(); for (final JMethod method : type.getMethods()) { if (method.getEnclosingType().getQualifiedSourceName().equals(typeName)) {
allowedAtRules = Sets.newHashSet(ExternalClassesCollector.EXTERNAL_AT_RULE);
allowedAtRules = Sets.newHashSet(ExternalClassesCollector.EXTERNAL_AT_RULE);
final Set<Object> includedAnnotations = Sets.newHashSet(); int count = 0; for (final ConstraintDescriptor<?> constraint : ppropertyDescription
Set<Object> includedAnnotations = Sets.newHashSet(); int count = 0; for (ConstraintDescriptor<?> constraint : p.getConstraintDescriptors()) {
Set<Object> includedAnnotations = Sets.newHashSet(); int count = 0; for (ConstraintDescriptor<?> constraint : p.getConstraintDescriptors()) {