|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.classscan.bcel.BcelClass
public class BcelClass
| Constructor Summary | |
|---|---|
BcelClass(MetaClassPathElement location,
org.apache.bcel.classfile.ClassParser parser)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
MetaAnnotation |
getAnnotation(String annotationName)
Get metadata about a particular annotation on the corresponding Class. |
Set<? extends MetaAnnotation> |
getAnnotations()
Get metadata about the annotations on the corresponding Class. |
MetaClassPathElement |
getClassLocation()
Get the ClassLocation from which the corresponding class came. |
Set<? extends MetaField> |
getFields()
Get metadata about the corresponding Class's methods and constructors. |
Set<MetaClass> |
getInterfaces()
Get metadata about the interfaces which the corresponding Class implements. |
Set<? extends MetaMethod> |
getMethods()
Get metadata about the corresponding Class's methods and constructors. |
String |
getName()
Get the canonical name of the corresponding Class. |
MetaClass |
getParent()
Get metadata about the corresponding Class's parent |
int |
hashCode()
|
boolean |
isAssignableFrom(MetaClass assignor)
Is the associated Class assignable from the class associated with the given MetaClass. |
boolean |
resolve(SpiMetaClassLoader classLoader)
Resolve names into model entries |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BcelClass(MetaClassPathElement location,
org.apache.bcel.classfile.ClassParser parser)
throws org.apache.bcel.classfile.ClassFormatException,
IOException
org.apache.bcel.classfile.ClassFormatException
IOException| Method Detail |
|---|
public boolean resolve(SpiMetaClassLoader classLoader)
HasResolve
resolve in interface HasResolvepublic MetaClassPathElement getClassLocation()
MetaClass
getClassLocation in interface MetaClasspublic String getName()
MetaClass
getName in interface HasNamegetName in interface MetaClasspublic MetaClass getParent()
MetaClass
getParent in interface MetaClasspublic Set<MetaClass> getInterfaces()
MetaClass
getInterfaces in interface MetaClasspublic Set<? extends MetaAnnotation> getAnnotations()
MetaClass
getAnnotations in interface MetaClasspublic MetaAnnotation getAnnotation(String annotationName)
MetaClass
getAnnotation in interface MetaClassannotationName - The name of the annotation desired
public Set<? extends MetaMethod> getMethods()
MetaClass
getMethods in interface MetaClasspublic Set<? extends MetaField> getFields()
MetaClass
getFields in interface MetaClasspublic boolean isAssignableFrom(MetaClass assignor)
MetaClass
isAssignableFrom in interface MetaClassassignor - The non-null MetaClass (associated with class or interface)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||