public class com.github.javaparser.ast.modules.ModuleUsesDirective extends com.github.javaparser.ast.modules.ModuleDirective implements com.github.javaparser.ast.nodeTypes.NodeWithName
{
private com.github.javaparser.ast.expr.Name name;
public void <init>()
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v = new com.github.javaparser.ast.expr.Name;
specialinvoke v.<com.github.javaparser.ast.expr.Name: void <init>()>();
specialinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.expr.Name)>(null, v);
return;
}
public void <init>(com.github.javaparser.ast.expr.Name)
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v := @parameter: com.github.javaparser.ast.expr.Name;
specialinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.expr.Name)>(null, v);
return;
}
public void <init>(com.github.javaparser.TokenRange, com.github.javaparser.ast.expr.Name)
{
com.github.javaparser.TokenRange v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v := @parameter: com.github.javaparser.TokenRange;
v := @parameter: com.github.javaparser.ast.expr.Name;
specialinvoke v.<com.github.javaparser.ast.modules.ModuleDirective: void <init>(com.github.javaparser.TokenRange)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.modules.ModuleUsesDirective setName(com.github.javaparser.ast.expr.Name)>(v);
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void customInitialization()>();
return;
}
public java.lang.Object accept(com.github.javaparser.ast.visitor.GenericVisitor, java.lang.Object)
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.visitor.GenericVisitor v;
java.lang.Object v, v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
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.ModuleUsesDirective,java.lang.Object)>(v, v);
return v;
}
public void accept(com.github.javaparser.ast.visitor.VoidVisitor, java.lang.Object)
{
com.github.javaparser.ast.visitor.VoidVisitor v;
java.lang.Object v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
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.ModuleUsesDirective,java.lang.Object)>(v, v);
return;
}
public com.github.javaparser.ast.modules.ModuleUsesDirective setType(com.github.javaparser.ast.expr.Name)
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v, v, v, v, v;
com.github.javaparser.ast.observer.ObservableProperty v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
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.ModuleUsesDirective: 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 TYPE>;
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name>;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name>;
if v == null goto label;
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: 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.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name> = v;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void setAsParentNodeOf(com.github.javaparser.ast.Node)>(v);
return v;
}
public com.github.javaparser.ast.modules.ModuleUsesDirective clone()
{
java.lang.Object v;
com.github.javaparser.ast.visitor.CloneVisitor v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
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.ModuleUsesDirective: java.lang.Object accept(com.github.javaparser.ast.visitor.GenericVisitor,java.lang.Object)>(v, null);
return v;
}
public boolean isModuleUsesStmt()
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
return 1;
}
public com.github.javaparser.ast.modules.ModuleUsesDirective asModuleUsesStmt()
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
return v;
}
public void ifModuleUsesStmt(java.util.function.Consumer)
{
java.util.function.Consumer v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v := @parameter: java.util.function.Consumer;
interfaceinvoke v.<java.util.function.Consumer: void accept(java.lang.Object)>(v);
return;
}
public java.util.Optional toModuleUsesStmt()
{
java.util.Optional v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v = staticinvoke <java.util.Optional: java.util.Optional of(java.lang.Object)>(v);
return v;
}
public com.github.javaparser.ast.expr.Name getName()
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name>;
return v;
}
public com.github.javaparser.ast.modules.ModuleUsesDirective setName(com.github.javaparser.ast.expr.Name)
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v, v, v, v, v;
com.github.javaparser.ast.observer.ObservableProperty v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
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.ModuleUsesDirective: 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.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name>;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name>;
if v == null goto label;
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: 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.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name> = v;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: void setAsParentNodeOf(com.github.javaparser.ast.Node)>(v);
return v;
}
public boolean replace(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
com.github.javaparser.ast.expr.Name v;
com.github.javaparser.ast.Node v, v;
boolean v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v := @parameter: com.github.javaparser.ast.Node;
v := @parameter: com.github.javaparser.ast.Node;
if v != null goto label;
return 0;
label:
v = v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.expr.Name name>;
if v != v goto label;
virtualinvoke v.<com.github.javaparser.ast.modules.ModuleUsesDirective: com.github.javaparser.ast.modules.ModuleUsesDirective setName(com.github.javaparser.ast.expr.Name)>(v);
return 1;
label:
v = specialinvoke v.<com.github.javaparser.ast.modules.ModuleDirective: boolean replace(com.github.javaparser.ast.Node,com.github.javaparser.ast.Node)>(v, v);
return v;
}
public boolean isModuleUsesDirective()
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
return 1;
}
public com.github.javaparser.ast.modules.ModuleUsesDirective asModuleUsesDirective()
{
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
return v;
}
public java.util.Optional toModuleUsesDirective()
{
java.util.Optional v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v = staticinvoke <java.util.Optional: java.util.Optional of(java.lang.Object)>(v);
return v;
}
public void ifModuleUsesDirective(java.util.function.Consumer)
{
java.util.function.Consumer v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v := @parameter: java.util.function.Consumer;
interfaceinvoke v.<java.util.function.Consumer: void accept(java.lang.Object)>(v);
return;
}
public com.github.javaparser.metamodel.ModuleUsesDirectiveMetaModel getMetaModel()
{
com.github.javaparser.metamodel.ModuleUsesDirectiveMetaModel v;
com.github.javaparser.ast.modules.ModuleUsesDirective v;
v := @this: com.github.javaparser.ast.modules.ModuleUsesDirective;
v = <com.github.javaparser.metamodel.JavaParserMetaModel: com.github.javaparser.metamodel.ModuleUsesDirectiveMetaModel moduleUsesDirectiveMetaModel>;
return v;
}
}