public class com.github.javaparser.ast.stmt.LocalClassDeclarationStmt extends com.github.javaparser.ast.stmt.Statement
{
private com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration;
public void <init>()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v = new com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
specialinvoke v.<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration: void <init>()>();
specialinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)>(null, v);
return;
}
public void <init>(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v := @parameter: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
specialinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: void <init>(com.github.javaparser.TokenRange,com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)>(null, v);
return;
}
public void <init>(com.github.javaparser.TokenRange, com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration v;
com.github.javaparser.TokenRange v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v := @parameter: com.github.javaparser.TokenRange;
v := @parameter: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
specialinvoke v.<com.github.javaparser.ast.stmt.Statement: void <init>(com.github.javaparser.TokenRange)>(v);
virtualinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt setClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)>(v);
virtualinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: void customInitialization()>();
return;
}
public java.lang.Object accept(com.github.javaparser.ast.visitor.GenericVisitor, java.lang.Object)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.visitor.GenericVisitor v;
java.lang.Object v, v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
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.stmt.LocalClassDeclarationStmt,java.lang.Object)>(v, v);
return v;
}
public void accept(com.github.javaparser.ast.visitor.VoidVisitor, java.lang.Object)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.visitor.VoidVisitor v;
java.lang.Object v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
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.stmt.LocalClassDeclarationStmt,java.lang.Object)>(v, v);
return;
}
public com.github.javaparser.ast.body.ClassOrInterfaceDeclaration getClassDeclaration()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v = v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration>;
return v;
}
public com.github.javaparser.ast.stmt.LocalClassDeclarationStmt setClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration v, v, v, v, v;
com.github.javaparser.ast.observer.ObservableProperty v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v := @parameter: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration;
staticinvoke <com.github.javaparser.utils.Utils: java.lang.Object assertNotNull(java.lang.Object)>(v);
v = v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration>;
if v != v goto label;
return v;
label:
v = <com.github.javaparser.ast.observer.ObservableProperty: com.github.javaparser.ast.observer.ObservableProperty CLASS_DECLARATION>;
v = v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration>;
virtualinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: void notifyPropertyChange(com.github.javaparser.ast.observer.ObservableProperty,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration>;
if v == null goto label;
v = v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration>;
virtualinvoke v.<com.github.javaparser.ast.body.ClassOrInterfaceDeclaration: com.github.javaparser.ast.Node setParentNode(com.github.javaparser.ast.Node)>(null);
label:
v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration> = v;
virtualinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: void setAsParentNodeOf(com.github.javaparser.ast.Node)>(v);
return v;
}
public com.github.javaparser.ast.stmt.LocalClassDeclarationStmt clone()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
java.lang.Object v;
com.github.javaparser.ast.visitor.CloneVisitor v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
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.stmt.LocalClassDeclarationStmt: java.lang.Object accept(com.github.javaparser.ast.visitor.GenericVisitor,java.lang.Object)>(v, null);
return v;
}
public com.github.javaparser.metamodel.LocalClassDeclarationStmtMetaModel getMetaModel()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.metamodel.LocalClassDeclarationStmtMetaModel v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v = <com.github.javaparser.metamodel.JavaParserMetaModel: com.github.javaparser.metamodel.LocalClassDeclarationStmtMetaModel localClassDeclarationStmtMetaModel>;
return v;
}
public boolean replace(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration v;
com.github.javaparser.ast.Node v, v;
boolean v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
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.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.body.ClassOrInterfaceDeclaration classDeclaration>;
if v != v goto label;
virtualinvoke v.<com.github.javaparser.ast.stmt.LocalClassDeclarationStmt: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt setClassDeclaration(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration)>(v);
return 1;
label:
v = specialinvoke v.<com.github.javaparser.ast.stmt.Statement: boolean replace(com.github.javaparser.ast.Node,com.github.javaparser.ast.Node)>(v, v);
return v;
}
public boolean isLocalClassDeclarationStmt()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
return 1;
}
public com.github.javaparser.ast.stmt.LocalClassDeclarationStmt asLocalClassDeclarationStmt()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
return v;
}
public void ifLocalClassDeclarationStmt(java.util.function.Consumer)
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
java.util.function.Consumer v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v := @parameter: java.util.function.Consumer;
interfaceinvoke v.<java.util.function.Consumer: void accept(java.lang.Object)>(v);
return;
}
public java.util.Optional toLocalClassDeclarationStmt()
{
com.github.javaparser.ast.stmt.LocalClassDeclarationStmt v;
java.util.Optional v;
v := @this: com.github.javaparser.ast.stmt.LocalClassDeclarationStmt;
v = staticinvoke <java.util.Optional: java.util.Optional of(java.lang.Object)>(v);
return v;
}
}