com.sun.squawk.pragma
Class ReplacementConstructorPragma
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.squawk.pragma.PragmaException
com.sun.squawk.pragma.ReplacementConstructorPragma
public class ReplacementConstructorPragma
- extends PragmaException
Denotes a method (that must be static) whose code replaces the body
of the constructor with the same declared parameter types. The denoted
method must return a value of the class type in which it is defined.
Any direct call to the method will result in a NoSuchMethodError in the translator.
This pragma is used by Squawk to create the data for an object that is
internally represented in the array object format.
ReplacementConstructorPragma
public ReplacementConstructorPragma()
"For updated information see the Java FRC site"