|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 HasResolve
public MetaClassPathElement getClassLocation()
MetaClass
getClassLocation
in interface MetaClass
public String getName()
MetaClass
getName
in interface HasName
getName
in interface MetaClass
public MetaClass getParent()
MetaClass
getParent
in interface MetaClass
public Set<MetaClass> getInterfaces()
MetaClass
getInterfaces
in interface MetaClass
public Set<? extends MetaAnnotation> getAnnotations()
MetaClass
getAnnotations
in interface MetaClass
public MetaAnnotation getAnnotation(String annotationName)
MetaClass
getAnnotation
in interface MetaClass
annotationName
- The name of the annotation desired
public Set<? extends MetaMethod> getMethods()
MetaClass
getMethods
in interface MetaClass
public Set<? extends MetaField> getFields()
MetaClass
getFields
in interface MetaClass
public boolean isAssignableFrom(MetaClass assignor)
MetaClass
isAssignableFrom
in interface MetaClass
assignor
- The non-null MetaClass (associated with class or interface)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |