Package eu.bandm.tools.metajava.format
Class DeclarationReducer
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.metajava.tdom.Visitor
eu.bandm.tools.metajava.format.DeclarationReducer
- All Implemented Interfaces:
DeclarationReducer
,PCDataVisitor
public class DeclarationReducer
extends eu.bandm.tools.metajava.tdom.Visitor
implements DeclarationReducer
-
Field Summary
Modifier and TypeFieldDescriptionprotected GeneratedAnnotation
protected final List
<GeneratedAnnotation> static final MetaType
static final MetaType
static final MetaType
protected GeneratedClass
protected GeneratedCode
protected final List
<GeneratedDeclaration> static final MetaType
static final MetaType
protected final FormatClosure
protected final JavaFormatter
protected String
static final MetaType
static final MetaType
protected int
protected GeneratedProcedure
static final MetaType
protected final GeneratedClass
protected MetaType
protected final Collection
<GeneratedTypeVariable> static final MetaType
Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreduceDeclarations
(String input) protected void
protected void
void
visit
(eu.bandm.tools.metajava.tdom.Element_abstractModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_annotation el) void
visit
(eu.bandm.tools.metajava.tdom.Element_annotationExplicitParameter el) void
visit
(eu.bandm.tools.metajava.tdom.Element_annotationSingleParameter el) void
visit
(eu.bandm.tools.metajava.tdom.Element_blockDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_booleanType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_byteType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_charType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_classDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_classTypeGeneric el) void
visit
(eu.bandm.tools.metajava.tdom.Element_defaultDecl el) void
visit
(eu.bandm.tools.metajava.tdom.Element_doubleType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_enumConstant el) void
visit
(eu.bandm.tools.metajava.tdom.Element_enumDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_finalModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_floatType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericAbstraction el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericInstantiation el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericLowerBound el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericUpperBound el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericVariable el) void
visit
(eu.bandm.tools.metajava.tdom.Element_genericWildcard el) void
visit
(eu.bandm.tools.metajava.tdom.Element_implementsClause el) void
visit
(eu.bandm.tools.metajava.tdom.Element_intType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_javaId el) void
visit
(eu.bandm.tools.metajava.tdom.Element_longType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_memberDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_methodDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_modifiers el) void
visit
(eu.bandm.tools.metajava.tdom.Element_nativeModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_parameterDecl el) void
visit
(eu.bandm.tools.metajava.tdom.Element_placeholderIndex el) void
visit
(eu.bandm.tools.metajava.tdom.Element_placeholderName el) void
visit
(eu.bandm.tools.metajava.tdom.Element_privateModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_protectedModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_publicModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_shortType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_staticModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_stmt el) void
visit
(eu.bandm.tools.metajava.tdom.Element_strictfpModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_synchronizedModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_throwsDecl el) void
visit
(eu.bandm.tools.metajava.tdom.Element_transientModifier el) void
visit
(eu.bandm.tools.metajava.tdom.Element_type el) void
visit
(eu.bandm.tools.metajava.tdom.Element_typeTerm el) void
visit
(eu.bandm.tools.metajava.tdom.Element_varDeclarator el) void
visit
(eu.bandm.tools.metajava.tdom.Element_voidType el) void
visit
(eu.bandm.tools.metajava.tdom.Element_volatileModifier el) Methods inherited from class eu.bandm.tools.metajava.tdom.Visitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Field Details
-
sourceContext
-
decls
-
formatter
-
formatClosure
-
modifiers
protected int modifiers -
annotations
-
annotation
-
cls
-
code
-
proc
-
typeVars
-
type
-
booleanType
-
byteType
-
charType
-
doubleType
-
floatType
-
intType
-
longType
-
shortType
-
voidType
-
id
-
-
Constructor Details
-
DeclarationReducer
-
-
Method Details
-
reduceDeclarations
- Specified by:
reduceDeclarations
in interfaceDeclarationReducer
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_modifiers el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_abstractModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_nativeModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_finalModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_publicModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_protectedModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_privateModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_transientModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_synchronizedModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_staticModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_volatileModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_strictfpModifier el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_annotation el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_annotationSingleParameter el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_annotationExplicitParameter el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
setAnnotations
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_classDeclarator el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_implementsClause el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_enumDeclarator el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_enumConstant el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_blockDeclarator el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_stmt el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_memberDeclarator el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_varDeclarator el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_methodDeclarator el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_parameterDecl el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_throwsDecl el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_defaultDecl el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
setTypeVariables
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericAbstraction el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericVariable el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_type el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_booleanType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_byteType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_charType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_doubleType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_floatType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_intType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_longType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_shortType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_voidType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_classTypeGeneric el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_typeTerm el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericInstantiation el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericType el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericWildcard el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericUpperBound el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_genericLowerBound el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_javaId el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_placeholderIndex el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-
visit
public void visit(eu.bandm.tools.metajava.tdom.Element_placeholderName el) - Overrides:
visit
in classeu.bandm.tools.metajava.tdom.Visitor
-