org.jikesrvm.classloader
Class RVMAnnotation.AnnotationFactory

java.lang.Object
  extended by org.jikesrvm.classloader.RVMAnnotation.AnnotationFactory
All Implemented Interfaces:
InvocationHandler
Enclosing class:
RVMAnnotation

private final class RVMAnnotation.AnnotationFactory
extends Object
implements InvocationHandler

Class used to implement annotations as proxies


Field Summary
private  int cachedHashCode
          Cache of hash code
 
Constructor Summary
RVMAnnotation.AnnotationFactory()
           
 
Method Summary
private  Object getValue(String name, Class<?> valueType)
           
 Object invoke(Object proxy, Method method, Object[] args)
          Entry point to factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedHashCode

private int cachedHashCode
Cache of hash code

Constructor Detail

RVMAnnotation.AnnotationFactory

RVMAnnotation.AnnotationFactory()
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
Entry point to factory

Specified by:
invoke in interface InvocationHandler

getValue

private Object getValue(String name,
                        Class<?> valueType)