- 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)
|
|
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)
|
|
void |
clean()
|
|
void |
generateClass(ClassNode classNode)
|
|
protected VariableNotFinalCallback |
getFinalVariablesCallback()
|
|
Set<JavaFileObject> |
getJavaStubCompilationUnitSet()
|
|
void |
visitClass(ClassNode node)
|
|
void |
visitConstructor(ConstructorNode node)
|
|
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)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
protected void addDefaultConstructor(ClassNode node)
-
protected void addInitialization(ClassNode node)
-
protected void addPropertyMethod(MethodNode method)
-
public void generateClass(ClassNode classNode)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
protected VariableNotFinalCallback getFinalVariablesCallback()
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void visitClass(ClassNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void visitConstructor(ConstructorNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void visitProperty(PropertyNode node)
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.