Class SourceCode.Method

    • Constructor Detail

      • Method

        public Method​(java.lang.String name,
                      org.apache.openjpa.persistence.util.SourceCode.ClassName returnType)
    • Method Detail

      • addArgument

        public SourceCode.Method addArgument​(java.lang.String className,
                                             java.lang.String argName)
      • setTab

        public void setTab​(boolean inc)
      • addCodeLine

        public SourceCode.Method addCodeLine​(java.lang.String line,
                                             boolean tabInc)
        if tabInc = true, the current line, and all following lines will be tabbed. If false, a tab will be removed.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object