Example #1
0
 private static boolean generateMethods(Property<Class<?>, Method> property) {
   PropertySettings settings = getPropertySettings(property);
   if (settings != null) {
     return settings.generateMethods();
   }
   return true;
 }
Example #2
0
 private static boolean isRequired(Property<Class<?>, Method> property) {
   PropertySettings settings = getPropertySettings(property);
   if (settings != null) {
     return settings.requiredParameter();
   }
   return true;
 }