public class com.github.javaparser.ast.modules.ModuleDeclaration extends com.github.javaparser.ast.Node implements com.github.javaparser.ast.nodeTypes.NodeWithName, com.github.javaparser.ast.nodeTypes.NodeWithAnnotations
{
private com.github.javaparser.ast.expr.Name name;
private com.github.javaparser.ast.NodeList annotations;
private boolean isOpen;
private com.github.javaparser.ast.NodeList directives;
public void <init>()
{
com.github.javaparser.ast.NodeList v, v;
com.github.javaparser.ast.expr.Name v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = new com.github.javaparser.ast.NodeList;
specialinvoke v.<com.github.javaparser.ast.NodeList: void <init>()>();
v = new com.github.javaparser.ast.expr.Name;
specialinvoke v.<com.github.javaparser.ast.expr.Name: void <init>()>();
v = new com.github.javaparser.ast.NodeList;
specialinvoke v.<com.github.javaparser.ast.NodeList: void <init>()>();
specialinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.NodeList,com.github.javaparser.ast.expr.Name,boolean,com.github.javaparser.ast.NodeList)>(null, v, v, 0, v);
return;
}
public void <init>(com.github.javaparser.ast.expr.Name, boolean)
{
com.github.javaparser.ast.NodeList v, v;
com.github.javaparser.ast.expr.Name v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
boolean v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.expr.Name;
v := @parameter: boolean;
v = new com.github.javaparser.ast.NodeList;
specialinvoke v.<com.github.javaparser.ast.NodeList: void <init>()>();
v = new com.github.javaparser.ast.NodeList;
specialinvoke v.<com.github.javaparser.ast.NodeList: void <init>()>();
specialinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.NodeList,com.github.javaparser.ast.expr.Name,boolean,com.github.javaparser.ast.NodeList)>(null, v, v, v, v);
return;
}
public void <init>(com.github.javaparser.ast.NodeList, com.github.javaparser.ast.expr.Name, boolean, com.github.javaparser.ast.NodeList)
{
com.github.javaparser.ast.NodeList v, v;
com.github.javaparser.ast.expr.Name v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
boolean v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.NodeList;
v := @parameter: com.github.javaparser.ast.expr.Name;
v := @parameter: boolean;
v := @parameter: com.github.javaparser.ast.NodeList;
specialinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.NodeList,com.github.javaparser.ast.expr.Name,boolean,com.github.javaparser.ast.NodeList)>(null, v, v, v, v);
return;
}
public void <init>(com.github.javaparser.TokenRange, com.github.javaparser.ast.NodeList, com.github.javaparser.ast.expr.Name, boolean, com.github.javaparser.ast.NodeList)
{
com.github.javaparser.ast.NodeList v, v;
com.github.javaparser.ast.expr.Name v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.TokenRange v;
boolean v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.TokenRange;
v := @parameter: com.github.javaparser.ast.NodeList;
v := @parameter: com.github.javaparser.ast.expr.Name;
v := @parameter: boolean;
v := @parameter: com.github.javaparser.ast.NodeList;
specialinvoke v.<com.github.javaparser.ast.Node: void <init>(com.github.javaparser.TokenRange)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.modules.ModuleDeclaration setAnnotations(com.github.javaparser.ast.NodeList)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.modules.ModuleDeclaration setName(com.github.javaparser.ast.expr.Name)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.modules.ModuleDeclaration setOpen(boolean)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.modules.ModuleDeclaration setDirectives(com.github.javaparser.ast.NodeList)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void customInitialization()>();
return;
}
public java.lang.Object accept(com.github.javaparser.ast.visitor.GenericVisitor, java.lang.Object)
{
com.github.javaparser.ast.visitor.GenericVisitor v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
java.lang.Object v, v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.visitor.GenericVisitor;
v := @parameter: java.lang.Object;
v = interfaceinvoke v.<com.github.javaparser.ast.visitor.GenericVisitor: java.lang.Object visit(com.github.javaparser.ast.modules.ModuleDeclaration,java.lang.Object)>(v, v);
return v;
}
public void accept(com.github.javaparser.ast.visitor.VoidVisitor, java.lang.Object)
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.visitor.VoidVisitor v;
java.lang.Object v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.visitor.VoidVisitor;
v := @parameter: java.lang.Object;
interfaceinvoke v.<com.github.javaparser.ast.visitor.VoidVisitor: void visit(com.github.javaparser.ast.modules.ModuleDeclaration,java.lang.Object)>(v, v);
return;
}
public com.github.javaparser.ast.expr.Name getName()
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.expr.Name v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name>;
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration setName(com.github.javaparser.ast.expr.Name)
{
com.github.javaparser.ast.expr.Name v, v, v, v, v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.observer.ObservableProperty v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.expr.Name;
staticinvoke <com.github.javaparser.utils.Utils: java.lang.Object assertNotNull(java.lang.Object)>(v);
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name>;
if v != v goto label;
return v;
label:
v = <com.github.javaparser.ast.observer.ObservableProperty: com.github.javaparser.ast.observer.ObservableProperty NAME>;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name>;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name>;
if v == null goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name>;
virtualinvoke v.<com.github.javaparser.ast.expr.Name: com.github.javaparser.ast.Node setParentNode(com.github.javaparser.ast.Node)>(null);
label:
v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name> = v;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void setAsParentNodeOf(com.github.javaparser.ast.Node)>(v);
return v;
}
public com.github.javaparser.ast.NodeList getAnnotations()
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.NodeList v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration setAnnotations(com.github.javaparser.ast.NodeList)
{
com.github.javaparser.ast.NodeList v, v, v, v, v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.observer.ObservableProperty v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.NodeList;
staticinvoke <com.github.javaparser.utils.Utils: java.lang.Object assertNotNull(java.lang.Object)>(v);
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
if v != v goto label;
return v;
label:
v = <com.github.javaparser.ast.observer.ObservableProperty: com.github.javaparser.ast.observer.ObservableProperty ANNOTATIONS>;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
if v == null goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.NodeList setParentNode(com.github.javaparser.ast.Node)>(null);
label:
v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations> = v;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void setAsParentNodeOf(com.github.javaparser.ast.NodeList)>(v);
return v;
}
public boolean remove(com.github.javaparser.ast.Node)
{
com.github.javaparser.ast.NodeList v, v, v, v, v, v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
int v, v, v, v;
com.github.javaparser.ast.Node v, v, v;
boolean v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.Node;
if v != null goto label;
return 0;
label:
v = 0;
label:
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: int size()>();
if v >= v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node get(int)>(v);
if v != v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node remove(int)>(v);
return 1;
label:
v = v + 1;
goto label;
label:
v = 0;
label:
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: int size()>();
if v >= v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node get(int)>(v);
if v != v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node remove(int)>(v);
return 1;
label:
v = v + 1;
goto label;
label:
v = specialinvoke v.<com.github.javaparser.ast.Node: boolean remove(com.github.javaparser.ast.Node)>(v);
return v;
}
public boolean isOpen()
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
boolean v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: boolean isOpen>;
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration setOpen(boolean)
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
java.lang.Boolean v, v;
com.github.javaparser.ast.observer.ObservableProperty v;
boolean v, v, v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: boolean;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: boolean isOpen>;
if v != v goto label;
return v;
label:
v = <com.github.javaparser.ast.observer.ObservableProperty: com.github.javaparser.ast.observer.ObservableProperty OPEN>;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: boolean isOpen>;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v.<com.github.javaparser.ast.modules.ModuleDeclaration: boolean isOpen> = v;
return v;
}
public com.github.javaparser.ast.NodeList getDirectives()
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.NodeList v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration setDirectives(com.github.javaparser.ast.NodeList)
{
com.github.javaparser.ast.NodeList v, v, v, v, v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.observer.ObservableProperty v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.NodeList;
staticinvoke <com.github.javaparser.utils.Utils: java.lang.Object assertNotNull(java.lang.Object)>(v);
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
if v != v goto label;
return v;
label:
v = <com.github.javaparser.ast.observer.ObservableProperty: com.github.javaparser.ast.observer.ObservableProperty DIRECTIVES>;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
if v == null goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.NodeList setParentNode(com.github.javaparser.ast.Node)>(null);
label:
v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives> = v;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: void setAsParentNodeOf(com.github.javaparser.ast.NodeList)>(v);
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration clone()
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
java.lang.Object v;
com.github.javaparser.ast.visitor.CloneVisitor v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = new com.github.javaparser.ast.visitor.CloneVisitor;
specialinvoke v.<com.github.javaparser.ast.visitor.CloneVisitor: void <init>()>();
v = virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: java.lang.Object accept(com.github.javaparser.ast.visitor.GenericVisitor,java.lang.Object)>(v, null);
return v;
}
public com.github.javaparser.metamodel.ModuleDeclarationMetaModel getMetaModel()
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.metamodel.ModuleDeclarationMetaModel v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v = <com.github.javaparser.metamodel.JavaParserMetaModel: com.github.javaparser.metamodel.ModuleDeclarationMetaModel moduleDeclarationMetaModel>;
return v;
}
public boolean replace(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
{
com.github.javaparser.ast.expr.Name v;
int v, v, v, v;
com.github.javaparser.ast.Node v, v, v, v;
boolean v;
com.github.javaparser.ast.NodeList v, v, v, v, v, v;
com.github.javaparser.ast.modules.ModuleDeclaration v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.Node;
v := @parameter: com.github.javaparser.ast.Node;
if v != null goto label;
return 0;
label:
v = 0;
label:
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: int size()>();
if v >= v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node get(int)>(v);
if v != v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList annotations>;
virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node set(int,com.github.javaparser.ast.Node)>(v, v);
return 1;
label:
v = v + 1;
goto label;
label:
v = 0;
label:
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: int size()>();
if v >= v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
v = virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node get(int)>(v);
if v != v goto label;
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList directives>;
virtualinvoke v.<com.github.javaparser.ast.NodeList: com.github.javaparser.ast.Node set(int,com.github.javaparser.ast.Node)>(v, v);
return 1;
label:
v = v + 1;
goto label;
label:
v = v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.expr.Name name>;
if v != v goto label;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.modules.ModuleDeclaration setName(com.github.javaparser.ast.expr.Name)>(v);
return 1;
label:
v = specialinvoke v.<com.github.javaparser.ast.Node: boolean replace(com.github.javaparser.ast.Node,com.github.javaparser.ast.Node)>(v, v);
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration addDirective(java.lang.String)
{
com.github.javaparser.ast.modules.ModuleDeclaration v, v;
java.lang.String v;
com.github.javaparser.ast.modules.ModuleDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: java.lang.String;
v = staticinvoke <com.github.javaparser.StaticJavaParser: com.github.javaparser.ast.modules.ModuleDirective parseModuleDirective(java.lang.String)>(v);
v = virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.modules.ModuleDeclaration addDirective(com.github.javaparser.ast.modules.ModuleDirective)>(v);
return v;
}
public com.github.javaparser.ast.modules.ModuleDeclaration addDirective(com.github.javaparser.ast.modules.ModuleDirective)
{
com.github.javaparser.ast.modules.ModuleDeclaration v;
com.github.javaparser.ast.NodeList v;
com.github.javaparser.ast.modules.ModuleDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleDeclaration;
v := @parameter: com.github.javaparser.ast.modules.ModuleDirective;
v = virtualinvoke v.<com.github.javaparser.ast.modules.ModuleDeclaration: com.github.javaparser.ast.NodeList getDirectives()>();
virtualinvoke v.<com.github.javaparser.ast.NodeList: boolean add(com.github.javaparser.ast.Node)>(v);
return v;
}
}