org.raml.parser.utils
Class ReflectionUtils

java.lang.Object
  extended by org.raml.parser.utils.ReflectionUtils

public class ReflectionUtils
extends Object


Constructor Summary
ReflectionUtils()
           
 
Method Summary
static List<Field> getInheritedFields(Class<?> type)
           
static boolean isEnum(Class<?> type)
           
static boolean isPojo(Class<?> type)
           
static boolean isWrapperOrString(Class<?> type)
           
static void setProperty(Object parent, String fieldName, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtils

public ReflectionUtils()
Method Detail

isWrapperOrString

public static boolean isWrapperOrString(Class<?> type)

getInheritedFields

public static List<Field> getInheritedFields(Class<?> type)

setProperty

public static void setProperty(Object parent,
                               String fieldName,
                               Object value)

isPojo

public static boolean isPojo(Class<?> type)

isEnum

public static boolean isEnum(Class<?> type)


Copyright © 2013. All rights reserved.