play.classloading.enhancers
Class LocalvariablesNamesEnhancer

java.lang.Object
  extended by play.classloading.enhancers.Enhancer
      extended by play.classloading.enhancers.LocalvariablesNamesEnhancer

public class LocalvariablesNamesEnhancer
extends Enhancer

Track names of local variables ...


Nested Class Summary
static class LocalvariablesNamesEnhancer.LocalVariablesNamesTracer
          Runtime part.
static interface LocalvariablesNamesEnhancer.LocalVariablesSupport
          Mark class that need local variables tracking
 
Nested classes/interfaces inherited from class play.classloading.enhancers.Enhancer
Enhancer.ApplicationClassesClasspath
 
Field Summary
 
Fields inherited from class play.classloading.enhancers.Enhancer
classPool
 
Constructor Summary
LocalvariablesNamesEnhancer()
           
 
Method Summary
 void enhanceThisClass(ApplicationClasses.ApplicationClass applicationClass)
          The magic happen here...
static java.util.List<java.lang.String> lookupParameterNames(java.lang.reflect.Constructor constructor)
           
static void printOp(int op)
          Debug utility.
 
Methods inherited from class play.classloading.enhancers.Enhancer
createAnnotation, createAnnotation, getAnnotations, getAnnotations, getAnnotations, hasAnnotation, hasAnnotation, makeClass, newClassPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalvariablesNamesEnhancer

public LocalvariablesNamesEnhancer()
Method Detail

lookupParameterNames

public static java.util.List<java.lang.String> lookupParameterNames(java.lang.reflect.Constructor constructor)

enhanceThisClass

public void enhanceThisClass(ApplicationClasses.ApplicationClass applicationClass)
                      throws java.lang.Exception
Description copied from class: Enhancer
The magic happen here...

Specified by:
enhanceThisClass in class Enhancer
Throws:
java.lang.Exception

printOp

public static void printOp(int op)
Debug utility. Display a byte code op as plain text.



Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly