r01f.reflection
Class Reflection

java.lang.Object
  extended by r01f.reflection.Reflection

public class Reflection
extends java.lang.Object

Fluent API


Constructor Summary
Reflection()
           
 
Method Summary
static BeanInstanceReflection of(java.lang.Object bean)
          Wrapper para reflection sobre una instancia de un objeto
static BeanReflection type(java.lang.Class<?> type)
           
static BeanReflection type(java.lang.String className)
          Obtiene la definición de una clase (Class) a partir del nombre completo (incluido paquete) de la clase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflection

public Reflection()
Method Detail

type

public static BeanReflection type(java.lang.Class<?> type)

type

public static BeanReflection type(java.lang.String className)
Obtiene la definición de una clase (Class) a partir del nombre completo (incluido paquete) de la clase

Parameters:
className - El nombre completo de la clase
Returns:
La definicion de la clase (Class) (NO UNA INSTANCIA)
Throws:
ReflectionException - si NO se encuentra la clase

of

public static BeanInstanceReflection of(java.lang.Object bean)
Wrapper para reflection sobre una instancia de un objeto

Parameters:
bean - el bean sobre el que se quiere hacer reflection
Returns:
un wrapper para hacer reflection sobre la instanci