Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.BytecodeAnalysis
Class CallTargets  view CallTargets download CallTargets.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byCompil3r.BytecodeAnalysis.CallTargets
All Implemented Interfaces:
java.util.Collection, java.lang.Iterable, java.util.Set
Direct Known Subclasses:
CallTargets.MultipleCallTargets, CallTargets.NoCallTarget, CallTargets.SingleCallTarget

public abstract class CallTargets
extends java.util.AbstractSet


Nested Class Summary
(package private) static class CallTargets.MultipleCallTargets
           
static class CallTargets.NoCallTarget
           
static class CallTargets.SingleCallTarget
           
 
Field Summary
(package private) static byte MAYBE
           
(package private) static byte NO
           
static boolean TRACE
           
static boolean VerifyAssertions
           
(package private) static byte YES
           
 
Constructor Summary
CallTargets()
           
 
Method Summary
static void addAllSubclasses(Clazz.jq_Class cl, java.util.Set s, boolean loadClasses)
           
(package private) static byte declaresInterface(Clazz.jq_Class klass, java.util.Set interfaces, boolean loadClasses)
           
static CallTargets getSpecialTargets(Clazz.jq_Class callingClass, Clazz.jq_InstanceMethod method, boolean loadClasses)
           
static CallTargets.SingleCallTarget getStaticTargets(Clazz.jq_StaticMethod method)
           
static CallTargets getTargets(Clazz.jq_Class callingClass, Clazz.jq_Method method, byte type, boolean loadClasses)
           
static CallTargets getTargets(Clazz.jq_Class callingClass, Clazz.jq_Method method, byte type, Clazz.jq_Reference receiverType, boolean exact, boolean loadClasses)
           
static CallTargets getTargets(Clazz.jq_Class callingClass, Clazz.jq_Method method, byte type, java.util.Set possibleReceiverTypes, boolean exact, boolean loadClasses)
           
(package private) static byte implementsInterface_noload(Clazz.jq_Class klass, Clazz.jq_Class inter)
           
abstract  boolean isComplete()
           
abstract  java.util.Iterator iterator()
          Returns an iterator over the set.
abstract  int size()
          Returns the number of elements in the set.
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

YES

static final byte YES
See Also:
Constant Field Values

MAYBE

static final byte MAYBE
See Also:
Constant Field Values

NO

static final byte NO
See Also:
Constant Field Values
Constructor Detail

CallTargets

public CallTargets()
Method Detail

getTargets

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

getTargets

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

implementsInterface_noload

static byte implementsInterface_noload(Clazz.jq_Class klass,
                                       Clazz.jq_Class inter)

declaresInterface

static byte declaresInterface(Clazz.jq_Class klass,
                              java.util.Set interfaces,
                              boolean loadClasses)

addAllSubclasses

public static void addAllSubclasses(Clazz.jq_Class cl,
                                    java.util.Set s,
                                    boolean loadClasses)

getTargets

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

getStaticTargets

public static CallTargets.SingleCallTarget getStaticTargets(Clazz.jq_StaticMethod method)

getSpecialTargets

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

iterator

public abstract java.util.Iterator iterator()
Description copied from interface: java.util.Set
Returns an iterator over the set. The iterator has no specific order, unless further specified.


isComplete

public abstract boolean isComplete()

union

public abstract CallTargets union(CallTargets s)

size

public abstract int size()
Description copied from interface: java.util.Set
Returns the number of elements in the set. If there are more than Integer.MAX_VALUE mappings, return Integer.MAX_VALUE. This is the cardinality of the set.