Class BuilderUtils

  • java.lang.Object
    • io.sundr.builder.internal.utils.BuilderUtils

  • public class BuilderUtilsextends java.lang.Object
    • Method Detail

      • isBuildable

        public static boolean isBuildable(TypeRef typeRef)
      • isBuildable

        public static boolean isBuildable(TypeDef typeDef)
      • findBuildableSuperClass

        public static TypeDef findBuildableSuperClass(TypeDef clazz)
      • findBuildableConstructor

        public static Method findBuildableConstructor(TypeDef clazz)
      • hasSetter

        public static boolean hasSetter(TypeDef clazz,                Property property)
      • hasOrInheritsSetter

        public static boolean hasOrInheritsSetter(TypeDef clazz,                          Property property)
      • methodHasArgument

        public static boolean methodHasArgument(Method method,                        Property property)
        Checks if method has a specific argument.
        method - The method.
        property - The arguement.
        True if matching argument if found.
      • hasBuildableConstructorWithArgument

        public static boolean hasBuildableConstructorWithArgument(TypeDef clazz,                                          Property property)
      • hasDefaultConstructor

        public static boolean hasDefaultConstructor(TypeDef item)
        Checks if there is a default constructor available.
        item - The clazz to check.
      • getInlineableConstructors

        public static java.util.Set<Method> getInlineableConstructors(Property property)
      • isInlineable

        public static boolean isInlineable(Method method)
      • getBuildableReferences

        public static java.util.Set<javax.lang.model.element.TypeElement> getBuildableReferences(BuilderContext context,                                                                         Buildable buildable)
      • getBuildableReferences

        public static java.util.Set<javax.lang.model.element.TypeElement> getBuildableReferences(BuilderContext context,                                                                         ExternalBuildables buildable)
      • isPrimitive

        public static boolean isPrimitive(TypeRef type)
      • isMap

        public static boolean isMap(TypeRef type)
      • isList

        public static boolean isList(TypeRef type)
      • isSet

        public static boolean isSet(TypeRef type)
      • isCollection

        public static boolean isCollection(TypeRef type)
      • isBoolean

        public static boolean isBoolean(TypeRef type)
      • isArray

        public static boolean isArray(TypeRef type)
      • allGenericsOf

        public static java.util.Set<java.lang.String> allGenericsOf(TypeDef clazz)
      • allGenericsOf

        public static java.util.Set<java.lang.String> allGenericsOf(TypeRef type)
      • allGenericsOf

        public static java.util.Collection<java.lang.String> allGenericsOf(Property property)
      • allGenericsOf

        public static java.util.Collection<java.lang.String> allGenericsOf(Method method)

Copyright © 2016. All Rights Reserved.

Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14