Class CreateHelloWorldClass


  • public class CreateHelloWorldClass
    extends java.lang.Object
    This sample application illustrates how to create a class with the ProGuardCORE API.

    Usage: java proguard.examples.CreateHelloWorldClass

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ProgramClass createMessagePrintingClass​(java.lang.String name, java.lang.String message)
      Creates a HelloWorld class.
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CreateHelloWorldClass

        public CreateHelloWorldClass()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • createMessagePrintingClass

        public static ProgramClass createMessagePrintingClass​(java.lang.String name,
                                                              java.lang.String message)
        Creates a HelloWorld class.