net.vidageek.mirror
Class Mirror

java.lang.Object
  extended by net.vidageek.mirror.Mirror

Deprecated. This class was deprecated because of it's static methods. Use # Mirror instead.

@Deprecated
public final class Mirror
extends Object

Author:
jonasabreu

Method Summary
static MemberController on(AnnotatedElement object)
          Deprecated. Method to access reflection on any AccessibleObject
static
<T> ClassController<T>
on(Class<T> clazz)
          Deprecated. Method to access reflection on clazz.
static FieldController on(Field field)
          Deprecated. Method to access reflection on any Field.
static AccessorsController on(Object object)
          Deprecated. Method to access reflection on object.
static ClassController<?> on(String className)
          Deprecated. Convenience method for on(Class).
static Class<?> reflectClass(String className)
          Deprecated. This method will reflect a Class object that is represented by className.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reflectClass

public static Class<?> reflectClass(String className)
Deprecated. 
This method will reflect a Class object that is represented by className.

Parameters:
className - Full qualified name of the class you want to reflect.
Returns:
A Class object represented by className.
Throws:
MirrorException - if no class on current ClassLoader has class represented by className.
IllegalArgumentException - if className is null or empty.

on

public static <T> ClassController<T> on(Class<T> clazz)
Deprecated. 
Method to access reflection on clazz.

Parameters:
clazz - Class object to be used.
Returns:
A object that allows you to access reflection on class clazz.
Throws:
IllegalArgumentException - if clazz is null.

on

public static AccessorsController on(Object object)
Deprecated. 
Method to access reflection on object.

Parameters:
object - Object to be used.
Returns:
A object that allows you to access reflection on object.
Throws:
IllegalArgumentException - if object is null.

on

public static ClassController<?> on(String className)
Deprecated. 
Convenience method for on(Class).

See Also:
on(Class), reflectClass(String)

on

public static MemberController on(AnnotatedElement object)
Deprecated. 
Method to access reflection on any AccessibleObject

Parameters:
object - AccessibleObject to be used.
Returns:
An object that allows you to access reflection on an AccessibleObject.
See Also:
AccessibleObject

on

public static FieldController on(Field field)
Deprecated. 
Method to access reflection on any Field.

Parameters:
field - to be used
Returns:
An object that allows you to access reflection on a Field.
Throws:
IllegalArgumentException - if field is null.


Copyright © 2011 VidaGeek.net. All Rights Reserved.