com.gomjabbar.classes.metaqueries
Class BytecodeBasedQueries

java.lang.Object
  |
  +--com.gomjabbar.classes.metaqueries.BytecodeBasedQueries
All Implemented Interfaces:
IMetaQueries

public class BytecodeBasedQueries
extends java.lang.Object
implements IMetaQueries


Constructor Summary
BytecodeBasedQueries(ClassRef cr, PseudoClassFile pcf)
           
 
Method Summary
 FieldRef[] getAccesses(MethodRef mr)
           
 MethodRef[] getCalls(MethodRef mr)
           
 IClassAttributes getClassAttributes()
           
 ClassRef[] getClassConstants()
           
 ClassRef getExtends()
           
 IFieldAttributes getFieldAttributes(FieldRef fr)
           
 FieldRef[] getFields()
           
 ClassRef[] getImplements()
           
 ClassRef[] getInner()
           
 ClassRef[] getMentions(MethodRef mr)
           
 IMethodAttributes getMethodAttributes(MethodRef mr)
           
 MethodRef[] getMethods()
           
 ClassRef[] getOuter()
           
 ReferenceRef[] getReferences(MethodRef mr)
           
 ClassRef[] getThrows(MethodRef mr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytecodeBasedQueries

public BytecodeBasedQueries(ClassRef cr,
                            PseudoClassFile pcf)
Method Detail

getAccesses

public FieldRef[] getAccesses(MethodRef mr)
Specified by:
getAccesses in interface IMetaQueries

getCalls

public MethodRef[] getCalls(MethodRef mr)
Specified by:
getCalls in interface IMetaQueries

getMentions

public ClassRef[] getMentions(MethodRef mr)
Specified by:
getMentions in interface IMetaQueries

getFields

public FieldRef[] getFields()
Specified by:
getFields in interface IMetaQueries

getReferences

public ReferenceRef[] getReferences(MethodRef mr)
Specified by:
getReferences in interface IMetaQueries

getMethods

public MethodRef[] getMethods()
Specified by:
getMethods in interface IMetaQueries

getClassConstants

public ClassRef[] getClassConstants()
Specified by:
getClassConstants in interface IMetaQueries

getImplements

public ClassRef[] getImplements()
Specified by:
getImplements in interface IMetaQueries

getExtends

public ClassRef getExtends()
Specified by:
getExtends in interface IMetaQueries

getThrows

public ClassRef[] getThrows(MethodRef mr)
Specified by:
getThrows in interface IMetaQueries

getInner

public ClassRef[] getInner()
Specified by:
getInner in interface IMetaQueries

getOuter

public ClassRef[] getOuter()
Specified by:
getOuter in interface IMetaQueries

getClassAttributes

public IClassAttributes getClassAttributes()
Specified by:
getClassAttributes in interface IMetaQueries

getMethodAttributes

public IMethodAttributes getMethodAttributes(MethodRef mr)
Specified by:
getMethodAttributes in interface IMetaQueries

getFieldAttributes

public IFieldAttributes getFieldAttributes(FieldRef fr)
Specified by:
getFieldAttributes in interface IMetaQueries