public class ClassDelegateUtil extends Object
Constructor and Description |
---|
ClassDelegateUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
applyFieldDeclaration(FieldDeclaration declaration,
Object target) |
static void |
applyFieldDeclaration(List<FieldDeclaration> fieldDeclarations,
Object target) |
static boolean |
fieldTypeCompatible(FieldDeclaration declaration,
Field field) |
static Object |
instantiateDelegate(Class<?> clazz,
List<FieldDeclaration> fieldDeclarations) |
static Object |
instantiateDelegate(String className,
List<FieldDeclaration> fieldDeclarations) |
public static Object instantiateDelegate(Class<?> clazz, List<FieldDeclaration> fieldDeclarations)
public static Object instantiateDelegate(String className, List<FieldDeclaration> fieldDeclarations)
public static void applyFieldDeclaration(List<FieldDeclaration> fieldDeclarations, Object target)
public static void applyFieldDeclaration(FieldDeclaration declaration, Object target)
public static boolean fieldTypeCompatible(FieldDeclaration declaration, Field field)
Copyright © 2021. All rights reserved.