Class ClassBuilderInfo.ClassMethod

  • Enclosing class:
    ClassBuilderInfo

    public static class ClassBuilderInfo.ClassMethod
    extends java.lang.Object
    Pojo which represents a class method.
    Since:
    v3.0.1 - 2018-12-20
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> annotations
      List of annotations for this method.
      private java.util.List<ClassBuilderInfo.MemberOrArgument> arguments
      Arguments for this method, key is argument name, value is argument type.
      private boolean finalMethod
      True if method should be final, false otherwise.
      private java.lang.String name
      Name of this method.
      private java.lang.String returnType
      Return value of the method.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassMethod​(java.lang.String _name, java.lang.String _returnType, boolean _finalMethod)  
    • Field Detail

      • name

        private final java.lang.String name
        Name of this method.
      • returnType

        private final java.lang.String returnType
        Return value of the method.
      • finalMethod

        private final boolean finalMethod
        True if method should be final, false otherwise.
      • annotations

        private final java.util.List<java.lang.String> annotations
        List of annotations for this method.
    • Constructor Detail

      • ClassMethod

        public ClassMethod​(java.lang.String _name,
                           java.lang.String _returnType,
                           boolean _finalMethod)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getReturnType

        public java.lang.String getReturnType()
      • isFinalMethod

        public boolean isFinalMethod()
      • getAnnotations

        public java.util.List<java.lang.String> getAnnotations()