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