br.com.caelum.iogi.reflection
Class Target<T>

java.lang.Object
  extended by br.com.caelum.iogi.reflection.Target<T>

public class Target<T>
extends Object


Constructor Summary
Target(Type type, String name)
           
 
Method Summary
 Target<?> arrayElementTarget()
           
 Class<?> arrayElementType()
           
 T cast(Object object)
           
 Constructors constructors(ParameterNamesProvider parameterNamesProvider, DependenciesInjector dependenciesInjector)
           
static
<T> Target<T>
create(Class<T> type, String name)
           
 boolean equals(Object obj)
           
 Class<T> getClassType()
           
 String getName()
           
 Type getType()
           
 int hashCode()
           
 boolean isInstantiable()
           
 boolean isParameterized()
           
 String toString()
           
 Target<Object> typeArgument(int index)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Target

public Target(Type type,
              String name)
Method Detail

create

public static <T> Target<T> create(Class<T> type,
                                   String name)

getClassType

public Class<T> getClassType()

getName

public String getName()

cast

public T cast(Object object)

isInstantiable

public boolean isInstantiable()

getType

public Type getType()

typeArgument

public Target<Object> typeArgument(int index)

arrayElementType

public Class<?> arrayElementType()

arrayElementTarget

public Target<?> arrayElementTarget()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

constructors

public Constructors constructors(ParameterNamesProvider parameterNamesProvider,
                                 DependenciesInjector dependenciesInjector)

isParameterized

public boolean isParameterized()


Copyright © 2014. All Rights Reserved.