org.aspectj.apache.bcel.util.Repository , org.aspectj.apache.bcel.util.SyntheticRepository
| Modifier and Type | Field and Description |
|---|---|
| private static Repository |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static JavaClass | |
| public static void | |
| public static Repository | |
| public static boolean | Returns: true, if clazz is an implementation of interface inter
|
| public static boolean | Returns: true, if clazz is an implementation of interface inter
|
| public static boolean | Returns: true, if clazz is an instance of super_classEquivalent to runtime "instanceof" operator. |
| public static boolean | |
| public static JavaClass | Returns: class object for given fully qualified class name, or null if the class could not be found or parsed correctlyLookup class somewhere found on your CLASSPATH, or whereever the repository instance looks for it. |
| public static ClassPath. | |
| public static void | |
| public static void |
| _repository | back to summary |
|---|---|
| private static Repository _repository | |
| Repository | back to summary |
|---|---|
| public Repository() | |
| addClass | back to summary |
|---|---|
| public static JavaClass addClass(JavaClass clazz) Add clazz to repository if there isn't an equally named class already in there.
| |
| clearCache | back to summary |
|---|---|
| public static void clearCache() Clear the repository. | |
| getRepository | back to summary |
|---|---|
public static Repository getRepository()
| |
| implementationOf | back to summary |
|---|---|
public static boolean implementationOf(JavaClass clazz, JavaClass inter)
| |
| implementationOf | back to summary |
|---|---|
public static boolean implementationOf(String clazz, String inter)
| |
| instanceOf | back to summary |
|---|---|
| public static boolean instanceOf(JavaClass clazz, JavaClass super_class) Equivalent to runtime "instanceof" operator.
| |
| instanceOf | back to summary |
|---|---|
public static boolean instanceOf(String clazz, String super_class)
| |
| lookupClass | back to summary |
|---|---|
| public static JavaClass lookupClass(String class_name) Lookup class somewhere found on your CLASSPATH, or whereever the repository instance looks for it.
| |
| lookupClassFile | back to summary |
|---|---|
| public static ClassPath. | |
| removeClass | back to summary |
|---|---|
| public static void removeClass(String clazz) Remove class with given (fully qualified) name from repository. | |
| setRepository | back to summary |
|---|---|
| public static void setRepository(Repository rep) Set repository instance to be used for class loading | |