Class ClassDelegateUtil


  • public class ClassDelegateUtil
    extends java.lang.Object
    Author:
    Roman Smirnov
    • Constructor Detail

      • ClassDelegateUtil

        public ClassDelegateUtil()
    • Method Detail

      • instantiateDelegate

        public static java.lang.Object instantiateDelegate​(java.lang.Class<?> clazz,
                                                           java.util.List<FieldDeclaration> fieldDeclarations)
      • instantiateDelegate

        public static java.lang.Object instantiateDelegate​(java.lang.String className,
                                                           java.util.List<FieldDeclaration> fieldDeclarations)
      • applyFieldDeclaration

        public static void applyFieldDeclaration​(java.util.List<FieldDeclaration> fieldDeclarations,
                                                 java.lang.Object target)
      • applyFieldDeclaration

        public static void applyFieldDeclaration​(FieldDeclaration declaration,
                                                 java.lang.Object target)
      • fieldTypeCompatible

        public static boolean fieldTypeCompatible​(FieldDeclaration declaration,
                                                  java.lang.reflect.Field field)