Example #1
0
 public int addAccessibleMethod(Method method) {
   if (accessibleMethods == null) {
     accessibleMethods = new ArrayList<Method>();
   }
   int index = accessibleMethods.size();
   accessibleMethods.add(method);
   return index;
 }
Example #2
0
 public int addAccessibleField(Field field) {
   if (accessibleFields == null) {
     accessibleFields = new ArrayList<Field>();
   }
   int index = accessibleFields.size();
   accessibleFields.add(field);
   return index;
 }