1 16 package org.apache.commons.attributes; 17 18 import java.lang.reflect.Field ; 19 import java.lang.reflect.Constructor ; 20 import java.lang.reflect.Method ; 21 import java.util.Collection ; 22 23 27 interface CachedRepository { 28 29 public static final CachedRepository EMPTY = new EmptyCachedRepository (); 30 31 public Collection getAttributes (); 32 public Collection getAttributes (Field f); 33 public Collection getAttributes (Method m); 34 public Collection getParameterAttributes (Method m, int parameter); 35 public Collection getParameterAttributes (Constructor c, int parameter); 36 public Collection getReturnAttributes (Method m); 37 public Collection getAttributes (Constructor c); 38 } 39 | Popular Tags |