joeq.Compiler.BytecodeAnalysis
Class CallTargets

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by joeq.Compiler.BytecodeAnalysis.CallTargets
All Implemented Interfaces:
Iterable, Collection, Set, CompilationConstants
Direct Known Subclasses:
CallTargets.NoCallTarget, CallTargets.SingleCallTarget

public abstract class CallTargets
extends AbstractSet
implements CompilationConstants


Nested Class Summary
static class CallTargets.NoCallTarget
           
static class CallTargets.SingleCallTarget
           
 
Field Summary
static boolean TRACE
           
static boolean VerifyAssertions
           
 
Fields inherited from interface joeq.Compiler.CompilationConstants
MAYBE, NO, YES
 
Constructor Summary
CallTargets()
           
 
Method Summary
static void addAllSubclasses(jq_Class cl, Set s, boolean loadClasses)
           
static CallTargets getSpecialTargets(jq_Class callingClass, jq_InstanceMethod method, boolean loadClasses)
           
static CallTargets.SingleCallTarget getStaticTargets(jq_StaticMethod method)
           
static CallTargets getTargets(jq_Class callingClass, jq_Method method, byte type, boolean loadClasses)
           
static CallTargets getTargets(jq_Class callingClass, jq_Method method, byte type, jq_Reference receiverType, boolean exact, boolean loadClasses)
           
static CallTargets getTargets(jq_Class callingClass, jq_Method method, byte type, Set possibleReceiverTypes, boolean exact, boolean loadClasses)
           
abstract  boolean isComplete()
           
abstract  Iterator iterator()
           
abstract  int size()
           
abstract  CallTargets union(CallTargets s)
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Field Detail

TRACE

public static final boolean TRACE
See Also:
Constant Field Values

VerifyAssertions

public static final boolean VerifyAssertions
See Also:
Constant Field Values
Constructor Detail

CallTargets

public CallTargets()
Method Detail

getTargets

public static CallTargets getTargets(jq_Class callingClass,
                                     jq_Method method,
                                     byte type,
                                     Set possibleReceiverTypes,
                                     boolean exact,
                                     boolean loadClasses)

getTargets

public static CallTargets getTargets(jq_Class callingClass,
                                     jq_Method method,
                                     byte type,
                                     jq_Reference receiverType,
                                     boolean exact,
                                     boolean loadClasses)

addAllSubclasses

public static void addAllSubclasses(jq_Class cl,
                                    Set s,
                                    boolean loadClasses)

getTargets

public static CallTargets getTargets(jq_Class callingClass,
                                     jq_Method method,
                                     byte type,
                                     boolean loadClasses)

getStaticTargets

public static CallTargets.SingleCallTarget getStaticTargets(jq_StaticMethod method)

getSpecialTargets

public static CallTargets getSpecialTargets(jq_Class callingClass,
                                            jq_InstanceMethod method,
                                            boolean loadClasses)

iterator

public abstract Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface Set
Specified by:
iterator in class AbstractCollection

isComplete

public abstract boolean isComplete()

union

public abstract CallTargets union(CallTargets s)

size

public abstract int size()
Specified by:
size in interface Collection
Specified by:
size in interface Set
Specified by:
size in class AbstractCollection


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