Home
last modified time | relevance | path

Searched refs:JavaClass (Results 1 – 25 of 72) sorted by relevance

123

/external/apache-commons-bcel/src/main/java/org/apache/bcel/
DRepository.java22 import org.apache.bcel.classfile.JavaClass;
62 public static JavaClass lookupClass( final String class_name ) throws ClassNotFoundException { in lookupClass()
74 public static JavaClass lookupClass( final Class<?> clazz ) throws ClassNotFoundException { in lookupClass()
109 public static JavaClass addClass( final JavaClass clazz ) { in addClass()
110 final JavaClass old = repository.findClass(clazz.getClassName()); in addClass()
127 public static void removeClass( final JavaClass clazz ) { in removeClass()
137 … public static JavaClass[] getSuperClasses( final JavaClass clazz ) throws ClassNotFoundException { in getSuperClasses()
148 …public static JavaClass[] getSuperClasses( final String class_name ) throws ClassNotFoundException… in getSuperClasses()
149 final JavaClass jc = lookupClass(class_name); in getSuperClasses()
161 public static JavaClass[] getInterfaces( final JavaClass clazz ) throws ClassNotFoundException { in getInterfaces()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DMemorySensitiveClassPathRepository.java27 import org.apache.bcel.classfile.JavaClass;
39 …private final Map<String, SoftReference<JavaClass>> _loadedClasses = new HashMap<>(); // CLASSNAME…
49 public void storeClass(final JavaClass clazz) { in storeClass()
58 public void removeClass(final JavaClass clazz) { in removeClass()
66 public JavaClass findClass(final String className) { in findClass()
67 final SoftReference<JavaClass> ref = _loadedClasses.get(className); in findClass()
85 public JavaClass loadClass(String className) throws ClassNotFoundException { in loadClass()
90 final JavaClass clazz = findClass(className); in loadClass()
114 public JavaClass loadClass(final Class<?> clazz) throws ClassNotFoundException { in loadClass()
116 final JavaClass repositoryClass = findClass(className); in loadClass()
[all …]
DClassPathRepository.java26 import org.apache.bcel.classfile.JavaClass;
37 private final Map<String, JavaClass> _loadedClasses = new HashMap<>(); // CLASSNAME X JAVACLASS
47 public void storeClass(final JavaClass clazz) { in storeClass()
56 public void removeClass(final JavaClass clazz) { in removeClass()
64 public JavaClass findClass(final String className) { in findClass()
79 public JavaClass loadClass(String className) throws ClassNotFoundException { in loadClass()
84 final JavaClass clazz = findClass(className); in loadClass()
108 public JavaClass loadClass(final Class<?> clazz) throws ClassNotFoundException { in loadClass()
110 final JavaClass repositoryClass = findClass(className); in loadClass()
119 JavaClass cls = null; in loadClass()
[all …]
DClassSet.java24 import org.apache.bcel.classfile.JavaClass;
36 private final Map<String, JavaClass> map = new HashMap<>();
39 public boolean add( final JavaClass clazz ) { in add()
49 public void remove( final JavaClass clazz ) { in remove()
59 public JavaClass[] toArray() { in toArray()
60 final Collection<JavaClass> values = map.values(); in toArray()
61 final JavaClass[] classes = new JavaClass[values.size()]; in toArray()
DClassVector.java23 import org.apache.bcel.classfile.JavaClass;
38 protected List<JavaClass> vec = new ArrayList<>();
41 public void addElement( final JavaClass clazz ) { in addElement()
46 public JavaClass elementAt( final int index ) { in elementAt()
56 public JavaClass[] toArray() { in toArray()
57 final JavaClass[] classes = new JavaClass[vec.size()]; in toArray()
DRepository.java20 import org.apache.bcel.classfile.JavaClass;
35 void storeClass( JavaClass clazz ); in storeClass()
41 void removeClass( JavaClass clazz ); in removeClass()
48 JavaClass findClass( String className ); in findClass()
55 JavaClass loadClass( String className ) throws java.lang.ClassNotFoundException; in loadClass()
61 JavaClass loadClass( Class<?> clazz ) throws java.lang.ClassNotFoundException; in loadClass()
DClassLoaderRepository.java26 import org.apache.bcel.classfile.JavaClass;
42 private final Map<String, JavaClass> loadedClasses = new HashMap<>(); // CLASSNAME X JAVACLASS
54 public void storeClass( final JavaClass clazz ) { in storeClass()
64 public void removeClass( final JavaClass clazz ) { in removeClass()
73 public JavaClass findClass( final String className ) { in findClass()
82 public JavaClass loadClass(final String className) throws ClassNotFoundException { in loadClass()
84 JavaClass RC = findClass(className); in loadClass()
103 public JavaClass loadClass( final Class<?> clazz ) throws ClassNotFoundException { in loadClass()
DClassStack.java22 import org.apache.bcel.classfile.JavaClass;
32 private final Stack<JavaClass> stack = new Stack<>();
35 public void push( final JavaClass clazz ) { in push()
40 public JavaClass pop() { in pop()
45 public JavaClass top() { in top()
DClassQueue.java22 import org.apache.bcel.classfile.JavaClass;
36 protected LinkedList<JavaClass> vec = new LinkedList<>(); // TODO not used externally
39 public void enqueue( final JavaClass clazz ) { in enqueue()
44 public JavaClass dequeue() { in dequeue()
DClassLoader.java29 import org.apache.bcel.classfile.JavaClass;
121 JavaClass clazz = null; in loadClass()
152 protected JavaClass modifyClass( final JavaClass clazz ) { in modifyClass()
171 protected JavaClass createClass( final String class_name ) { in createClass()
174 JavaClass clazz = null; in createClass()
DBCELifier.java30 import org.apache.bcel.classfile.JavaClass;
63 private final JavaClass _clazz;
70 public BCELifier(final JavaClass clazz, final OutputStream out) { in BCELifier()
86 public void visitJavaClass( final JavaClass clazz ) { in visitJavaClass()
287 final JavaClass java_class = getJavaClass(argv[0]); in main()
294 static JavaClass getJavaClass(final String name) throws ClassNotFoundException, IOException { in getJavaClass()
295 JavaClass java_class; in getJavaClass()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DReferenceType.java22 import org.apache.bcel.classfile.JavaClass;
236 final JavaClass[] thiz_sups = Repository.getSuperClasses(thiz.getClassName()); in getFirstCommonSuperclass()
237 final JavaClass[] other_sups = Repository.getSuperClasses(other.getClassName()); in getFirstCommonSuperclass()
242 final JavaClass[] this_sups = new JavaClass[thiz_sups.length + 1]; in getFirstCommonSuperclass()
243 final JavaClass[] t_sups = new JavaClass[other_sups.length + 1]; in getFirstCommonSuperclass()
248 for (final JavaClass t_sup : t_sups) { in getFirstCommonSuperclass()
249 for (final JavaClass this_sup : this_sups) { in getFirstCommonSuperclass()
308 final JavaClass[] thiz_sups = Repository.getSuperClasses(thiz.getClassName()); in firstCommonSuperclass()
309 final JavaClass[] other_sups = Repository.getSuperClasses(other.getClassName()); in firstCommonSuperclass()
314 final JavaClass[] this_sups = new JavaClass[thiz_sups.length + 1]; in firstCommonSuperclass()
[all …]
DObjectType.java22 import org.apache.bcel.classfile.JavaClass;
84 final JavaClass jc = Repository.lookupClass(class_name); in referencesClass()
102 final JavaClass jc = Repository.lookupClass(class_name); in referencesInterface()
119 final JavaClass jc = Repository.lookupClass(class_name); in referencesClassExact()
133 final JavaClass jc = Repository.lookupClass(class_name); in referencesInterfaceExact()
157 final JavaClass jc = Repository.lookupClass(class_name); in accessibleTo()
161 final JavaClass acc = Repository.lookupClass(accessor.class_name); in accessibleTo()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DJavaClass.java49 public class JavaClass extends AccessFlags implements Cloneable, Node, Comparable<JavaClass> { class
80 final JavaClass THIS = (JavaClass) o1;
81 final JavaClass THAT = (JavaClass) o2;
88 final JavaClass THIS = (JavaClass) o;
119 …public JavaClass(final int class_name_index, final int superclass_name_index, final String file_na… in JavaClass() method in JavaClass
196 …public JavaClass(final int class_name_index, final int superclass_name_index, final String file_na… in JavaClass() method in JavaClass
662 public JavaClass copy() { in copy()
663 JavaClass c = null; in copy()
665 c = (JavaClass) clone(); in copy()
773 public final boolean instanceOf( final JavaClass super_class ) throws ClassNotFoundException { in instanceOf()
[all …]
/external/llvm/test/CodeGen/X86/
Dpr3317.ll9 %Enveloppe = type { %CacheNode*, %ArraySInt16*, %ArraySInt16*, i8, %JavaClass*, %CacheNode }
11JavaClass = type { %JavaCommonClass, i32, %VT*, [1 x %TaskClassMirror], i8*, %JavaField*, i16, %Ja…
12 …e { %JavaCommonClass**, i32, [1 x %JavaObject*], i16, %JavaClass**, i16, %ArraySInt16*, %JavaClass
13 …%JavaField = type { i8*, i16, %ArraySInt16*, %ArraySInt16*, %Attribut*, i16, %JavaClass*, i32, i16…
14 …%JavaMethod = type { i8*, i16, %Attribut*, i16, %Enveloppe*, i16, %JavaClass*, %ArraySInt16*, %Arr…
36 …ementptr %JavaCommonClass, %JavaCommonClass* %2, i64 0, i32 4 ; <%JavaClass***> [#uses=1]
37 %8 = bitcast %JavaClass*** %7 to i64* ; <i64*> [#uses=1]
/external/llvm-project/llvm/test/CodeGen/X86/
Dpr3317.ll9 %Enveloppe = type { %CacheNode*, %ArraySInt16*, %ArraySInt16*, i8, %JavaClass*, %CacheNode }
11JavaClass = type { %JavaCommonClass, i32, %VT*, [1 x %TaskClassMirror], i8*, %JavaField*, i16, %Ja…
12 …e { %JavaCommonClass**, i32, [1 x %JavaObject*], i16, %JavaClass**, i16, %ArraySInt16*, %JavaClass
13 …%JavaField = type { i8*, i16, %ArraySInt16*, %ArraySInt16*, %Attribut*, i16, %JavaClass*, i32, i16…
14 …%JavaMethod = type { i8*, i16, %Attribut*, i16, %Enveloppe*, i16, %JavaClass*, %ArraySInt16*, %Arr…
36 …ementptr %JavaCommonClass, %JavaCommonClass* %2, i64 0, i32 4 ; <%JavaClass***> [#uses=1]
37 %8 = bitcast %JavaClass*** %7 to i64* ; <i64*> [#uses=1]
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DAnonymousClassTestCase.java21 import org.apache.bcel.classfile.JavaClass;
27 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest"); in testRegularClassIsNotAnonymous()
36 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest$X"); in testNamedInnerClassIsNotAnonymous()
45 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest$Y"); in testStaticInnerClassIsNotAnonymous()
54 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnonymousClassTest$1"); in testAnonymousInnerClassIsAnonymous()
DEnclosingMethodAttributeTestCase.java27 import org.apache.bcel.classfile.JavaClass;
40 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AttributeTestClassEM01$1S"); in testCheckMethodLevelNamedInnerClass()
63 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AttributeTestClassEM02$1"); in testCheckClassLevelNamedInnerClass()
86 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AttributeTestClassEM02$1"); in testAttributeSerializtion()
96 final JavaClass clazz2 = repos2.loadClass("AttributeTestClassEM02$1"); in testAttributeSerializtion()
DPLSETestCase.java21 import org.apache.bcel.classfile.JavaClass;
41 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestClass"); in testB208()
57 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestClass"); in testB79()
75 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestEnum"); in testB262()
96 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.PLSETestClass2"); in testB295()
/external/webrtc/modules/utility/include/
Djvm_android.h61 class JavaClass {
63 JavaClass(JNIEnv* jni, jclass clazz) : jni_(jni), j_class_(clazz) {} in JavaClass() function
64 ~JavaClass() {} in ~JavaClass()
78 class NativeRegistration : public JavaClass {
175 JavaClass GetClass(const char* name);
/external/apache-commons-bcel/src/examples/
DTransitiveHull.java32 import org.apache.bcel.classfile.JavaClass;
64 public TransitiveHull(JavaClass clazz) { in TransitiveHull()
71 public JavaClass[] getClasses() { in getClasses()
84 JavaClass clazz = queue.dequeue(); in start()
101 JavaClass clazz = Repository.lookupClass(class_name); in add()
178 JavaClass java_class; in main()
DPackage.java36 import org.apache.bcel.classfile.JavaClass;
78 Map<String, JavaClass> allClasses = new TreeMap<String, JavaClass>();
130 JavaClass clazz; in go()
189 JavaClass claz = allClasses.get(name); in go()
231 void addDependents(JavaClass clazz) throws IOException { in addDependents()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/statics/
DPass1Verifier.java23 import org.apache.bcel.classfile.JavaClass;
44 private JavaClass jc;
55 private JavaClass getJavaClass() { in getJavaClass()
148 JavaClass jc; in do_verify()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DFieldAnnotationsTestCase.java28 import org.apache.bcel.classfile.JavaClass;
38 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedFields"); in testFieldAnnotationEntrys()
50 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedFields"); in testFieldAnnotationEntrysReadWrite()
71 final JavaClass clazz = getTestClass(PACKAGE_BASE_NAME+".data.AnnotatedFields"); in testFieldAnnotationModification()
116 public void checkAnnotatedField(final JavaClass clazz, final String fieldname, in checkAnnotatedField()
/external/webrtc/modules/utility/source/
Djvm_android.cc133 : JavaClass(jni, clazz), jni_(jni) { in NativeRegistration()
157 jmethodID JavaClass::GetMethodId(const char* name, const char* signature) { in GetMethodId()
161 jmethodID JavaClass::GetStaticMethodId(const char* name, in GetStaticMethodId()
166 jobject JavaClass::CallStaticObjectMethod(jmethodID methodID, ...) { in CallStaticObjectMethod()
174 jint JavaClass::CallStaticIntMethod(jmethodID methodID, ...) { in CallStaticIntMethod()
278 JavaClass JVM::GetClass(const char* name) { in GetClass()
281 return JavaClass(jni(), LookUpClass(name)); in GetClass()

123