- org.codehaus.groovy.tools.javac.JavaStubGenerator
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
protected void |
addConstructor(Parameter[] params, ConstructorNode ctor, Statement code, ClassNode node)
|
|
public void |
addCovariantMethods(ClassNode cn)
|
|
protected void |
addDefaultConstructor(ClassNode node)
|
|
protected void |
addDefaultParameters(Verifier.DefaultArgsAction action, MethodNode method)
|
|
protected void |
addInitialization(ClassNode cn)
|
|
protected void |
addInitialization(ClassNode cn, ConstructorNode c)
|
|
protected MethodNode |
addMethod(ClassNode cn, boolean shouldBeSynthetic, String name, int modifiers, ClassNode returnType, Parameter[] parameters, ClassNode[] exceptions, Statement code)
|
|
protected void |
addPropertyMethod(MethodNode mn)
|
|
protected void |
addReturnIfNeeded(MethodNode mn)
|
|
public void |
clean()
|
|
public void |
generateClass(ClassNode classNode)
|
|
protected VariableNotFinalCallback |
getFinalVariablesCallback()
|
|
public Set<JavaFileObject> |
getJavaStubCompilationUnitSet()
|
|
public void |
visitClass(ClassNode node)
|
|
public void |
visitConstructor(ConstructorNode node)
|
|
public void |
visitProperty(PropertyNode pn)
|
-
Inherited Methods Summary
-
-
Constructor Detail
-
public JavaStubGenerator(File outputPath)
-
public JavaStubGenerator(File outputPath, boolean requireSuperResolved, String encoding)
-
@Deprecated
public JavaStubGenerator(File outputPath, boolean requireSuperResolved, boolean java5, String encoding)
-
Method Detail
-
public void generateClass(ClassNode classNode)
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.