- org.codehaus.groovy.tools.javac.JavaStubGenerator
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
protected void |
addConstructor(Parameter[] newParams, 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 node)
|
|
protected MethodNode |
addMethod(ClassNode node, boolean shouldBeSynthetic, String name, int modifiers, ClassNode returnType, Parameter[] parameters, ClassNode[] exceptions, Statement code)
|
|
protected void |
addPropertyMethod(MethodNode method)
|
|
protected void |
addReturnIfNeeded(MethodNode node)
|
|
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 node)
|
-
Inherited Methods Summary
-
-
Constructor Detail
-
public JavaStubGenerator(File outputPath, boolean requireSuperResolved, boolean java5, String encoding)
-
public JavaStubGenerator(File outputPath)
-
Method Detail
-
public void addCovariantMethods(ClassNode cn)
-
protected void addInitialization(ClassNode node)
-
protected void addPropertyMethod(MethodNode method)
-
public void generateClass(ClassNode classNode)
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.