Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Uses of Class
dk.rode.thesis.meta.reflect.CallerClass

Packages that use CallerClass
dk.rode.thesis.meta.reflect Various reflection utilities and classes
dk.rode.thesis.singleton Implementations and examples of the Singleton design pattern [Gamma95, p.127]. 
 

Uses of CallerClass in dk.rode.thesis.meta.reflect
 

Classes in dk.rode.thesis.meta.reflect with type parameters of type CallerClass
protected static class CallerClass.CallerIterator<C extends CallerClass>
          A caller iterator is used to iterator over CallerClass instances, or sub-classes of it.
 

Subclasses of CallerClass in dk.rode.thesis.meta.reflect
 class Caller
          A caller represents one or more java.lang.reflect.Member instances representing a specific calling context.
 

Fields in dk.rode.thesis.meta.reflect declared as CallerClass
protected  C CallerClass.CallerIterator.caller
          The current caller set by CallerClass.CallerIterator.setNext().
 

Methods in dk.rode.thesis.meta.reflect that return CallerClass
 CallerClass CallerClass.getAssignableCaller()
          Returns the first caller in the call-stack where the class of the calling context is assignable to the class representing the immediate calling context.
 CallerClass CallerClass.getCaller()
          Returns the caller representing the calling context of this caller, or null if no such caller exist.
 CallerClass CallerClass.getClassCaller()
          Returns the first caller in the call-stack where the class of the calling context is identical to the class representing the immediate calling context.
 CallerClass CallerClass.getNonAssignableCaller()
          Returns the first caller in the call-stack where the class of the calling context is not assignable to the class representing the immediate calling context.
 CallerClass CallerClass.getNonClassCaller()
          Returns the first caller in the call-stack where the class of the calling context is not identical to the class representing the immediate calling context.
 CallerClass CallerClass.getNonSubClassCaller()
          Returns the first caller in the call-stack where the class of the calling context is a not a sub-class of the class representing the immediate calling context.
 CallerClass CallerClass.getSubClassCaller()
          Returns the first caller in the call-stack where the class of the calling context is a sub-class of the class representing the immediate calling context.
 

Methods in dk.rode.thesis.meta.reflect that return types with arguments of type CallerClass
 Iterator<? extends CallerClass> CallerClass.getCallers()
          Returns a new iterator to iterate over all preceding callers in the call-stack.
 Iterator<CallerClass> CallerClass.iterator()
           
 

Constructors in dk.rode.thesis.meta.reflect with parameters of type CallerClass
CallerClass(CallerClass caller)
          Copy constructor.
CallerClass(CallerClass caller, int offset)
          Constructor, which creates this caller using an existing stack trace supplied from caller, but using a perhaps different offset supplied as offset.
 

Uses of CallerClass in dk.rode.thesis.singleton
 

Constructors in dk.rode.thesis.singleton with parameters of type CallerClass
SingletonError(CallerClass caller)
          Constructor.
 


Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.