joeq.Bootstrap
Class BootstrapRootSet

java.lang.Object
  extended by joeq.Bootstrap.BootstrapRootSet

public class BootstrapRootSet
extends Object

BootstrapRootSet

Version:
$Id: BootstrapRootSet.java,v 1.34 2004/09/30 03:35:29 joewhaley Exp $
Author:
John Whaley

Field Summary
 boolean AddAllFields
           
protected  Set instantiatedTypes
           
protected  List instantiatedTypesListeners
           
protected  Set necessaryFields
           
protected  List necessaryFieldsListeners
           
protected  Set necessaryMethods
           
protected  List necessaryMethodsListeners
           
protected  Set necessaryTypes
           
protected  List necessaryTypesListeners
           
static PrintStream out
           
static boolean TRACE
           
protected  LinkedHashSet visitedObjects
           
 
Constructor Summary
BootstrapRootSet(boolean addall)
          Creates new BootstrapRootSet
 
Method Summary
 void addAllInterfaceMethodImplementations(jq_InstanceMethod i_m)
           
 void addAllVirtualMethodImplementations(jq_Class c, jq_InstanceMethod i_m)
           
 void addAllVirtualMethodImplementations(jq_InstanceMethod i_m)
           
 void addDefaultRoots()
           
 boolean addInstantiatedType(jq_Type t)
           
 boolean addNecessaryField(jq_Field t)
           
 jq_InstanceField addNecessaryInstanceField(jq_Class c, String name, String desc)
           
 jq_InstanceMethod addNecessaryInstanceMethod(jq_Class c, String name, String desc)
           
 boolean addNecessaryMethod(jq_Method t)
           
 jq_StaticField addNecessaryStaticField(jq_Class c, String name, String desc)
           
 jq_StaticMethod addNecessaryStaticMethod(jq_Class c, String name, String desc)
           
 void addNecessarySubfieldsOfVisitedObjects()
           
 boolean addNecessaryType(jq_Type t)
           
 jq_Type addNecessaryType(String desc)
           
 boolean addObjectAndSubfields(Object o)
           
 Set getInstantiatedTypes()
           
 Set getNecessaryFields()
           
 Set getNecessaryMethods()
           
 Set getNecessaryTypes()
           
 void registerInstantiatedTypeListener(jq_TypeVisitor tv)
           
 void registerNecessaryFieldListener(jq_FieldVisitor tv)
           
 void registerNecessaryMethodListener(jq_MethodVisitor tv)
           
 void registerNecessaryTypeListener(jq_TypeVisitor tv)
           
 void trimClass(jq_Class clazz)
           
 void unregisterInstantiatedTypeListener(jq_TypeVisitor tv)
           
 void unregisterNecessaryFieldListener(jq_FieldVisitor tv)
           
 void unregisterNecessaryMethodListener(jq_MethodVisitor tv)
           
 void unregisterNecessaryTypeListener(jq_TypeVisitor tv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE

public static boolean TRACE

out

public static final PrintStream out

instantiatedTypes

protected final Set instantiatedTypes

necessaryTypes

protected final Set necessaryTypes

necessaryFields

protected final Set necessaryFields

necessaryMethods

protected final Set necessaryMethods

visitedObjects

protected final LinkedHashSet visitedObjects

instantiatedTypesListeners

protected List instantiatedTypesListeners

necessaryTypesListeners

protected List necessaryTypesListeners

necessaryFieldsListeners

protected List necessaryFieldsListeners

necessaryMethodsListeners

protected List necessaryMethodsListeners

AddAllFields

public boolean AddAllFields
Constructor Detail

BootstrapRootSet

public BootstrapRootSet(boolean addall)
Creates new BootstrapRootSet

Method Detail

getInstantiatedTypes

public Set getInstantiatedTypes()

getNecessaryTypes

public Set getNecessaryTypes()

getNecessaryFields

public Set getNecessaryFields()

getNecessaryMethods

public Set getNecessaryMethods()

registerInstantiatedTypeListener

public void registerInstantiatedTypeListener(jq_TypeVisitor tv)

unregisterInstantiatedTypeListener

public void unregisterInstantiatedTypeListener(jq_TypeVisitor tv)

registerNecessaryTypeListener

public void registerNecessaryTypeListener(jq_TypeVisitor tv)

unregisterNecessaryTypeListener

public void unregisterNecessaryTypeListener(jq_TypeVisitor tv)

registerNecessaryFieldListener

public void registerNecessaryFieldListener(jq_FieldVisitor tv)

unregisterNecessaryFieldListener

public void unregisterNecessaryFieldListener(jq_FieldVisitor tv)

registerNecessaryMethodListener

public void registerNecessaryMethodListener(jq_MethodVisitor tv)

unregisterNecessaryMethodListener

public void unregisterNecessaryMethodListener(jq_MethodVisitor tv)

addInstantiatedType

public boolean addInstantiatedType(jq_Type t)

addNecessaryType

public jq_Type addNecessaryType(String desc)

addNecessaryType

public boolean addNecessaryType(jq_Type t)

addNecessaryStaticField

public jq_StaticField addNecessaryStaticField(jq_Class c,
                                              String name,
                                              String desc)

addNecessaryInstanceField

public jq_InstanceField addNecessaryInstanceField(jq_Class c,
                                                  String name,
                                                  String desc)

addNecessaryField

public boolean addNecessaryField(jq_Field t)

addNecessaryStaticMethod

public jq_StaticMethod addNecessaryStaticMethod(jq_Class c,
                                                String name,
                                                String desc)

addNecessaryInstanceMethod

public jq_InstanceMethod addNecessaryInstanceMethod(jq_Class c,
                                                    String name,
                                                    String desc)

addNecessaryMethod

public boolean addNecessaryMethod(jq_Method t)

addDefaultRoots

public void addDefaultRoots()

addObjectAndSubfields

public boolean addObjectAndSubfields(Object o)

addNecessarySubfieldsOfVisitedObjects

public void addNecessarySubfieldsOfVisitedObjects()

addAllInterfaceMethodImplementations

public void addAllInterfaceMethodImplementations(jq_InstanceMethod i_m)

addAllVirtualMethodImplementations

public void addAllVirtualMethodImplementations(jq_InstanceMethod i_m)

addAllVirtualMethodImplementations

public void addAllVirtualMethodImplementations(jq_Class c,
                                               jq_InstanceMethod i_m)

trimClass

public void trimClass(jq_Class clazz)


Copyright © 2001-2005 John Whaley. All Rights Reserved.