Uses of Class
com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
-
-
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.ast
Methods in com.github.javaparser.ast that return ClassOrInterfaceDeclaration Modifier and Type Method Description ClassOrInterfaceDeclarationCompilationUnit. addClass(String name)Add a public class to the types of this compilation unitClassOrInterfaceDeclarationCompilationUnit. addClass(String name, Modifier... modifiers)Add a class to the types of this compilation unitClassOrInterfaceDeclarationCompilationUnit. addInterface(String name)Add a public interface class to the types of this compilation unitClassOrInterfaceDeclarationCompilationUnit. addInterface(String name, Modifier... modifiers)Add an interface to the types of this compilation unitMethods in com.github.javaparser.ast that return types with arguments of type ClassOrInterfaceDeclaration Modifier and Type Method Description Optional<ClassOrInterfaceDeclaration>CompilationUnit. getClassByName(String className)Try to get a top level class declaration by its nameOptional<ClassOrInterfaceDeclaration>CompilationUnit. getInterfaceByName(String interfaceName)Try to get a top level interface declaration by its name -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return ClassOrInterfaceDeclaration Modifier and Type Method Description ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. clone()ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setExtendedTypes(NodeList<ClassOrInterfaceType> extendedTypes)ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setImplementedTypes(NodeList<ClassOrInterfaceType> implementedTypes)ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setInterface(boolean isInterface)ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters) -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.ast.stmt
Methods in com.github.javaparser.ast.stmt that return ClassOrInterfaceDeclaration Modifier and Type Method Description ClassOrInterfaceDeclarationLocalClassDeclarationStmt. getClassDeclaration()Methods in com.github.javaparser.ast.stmt with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description LocalClassDeclarationStmtLocalClassDeclarationStmt. setClassDeclaration(ClassOrInterfaceDeclaration classDeclaration)Constructors in com.github.javaparser.ast.stmt with parameters of type ClassOrInterfaceDeclaration Constructor Description LocalClassDeclarationStmt(ClassOrInterfaceDeclaration classDeclaration)LocalClassDeclarationStmt(TokenRange tokenRange, ClassOrInterfaceDeclaration classDeclaration)This constructor is used by the parser and is considered private. -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.ast.validator.chunks
Methods in com.github.javaparser.ast.validator.chunks with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description voidModifierValidator. visit(ClassOrInterfaceDeclaration n, ProblemReporter reporter) -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description VisitableCloneVisitor. visit(ClassOrInterfaceDeclaration n, Object arg)BooleanEqualsVisitor. visit(ClassOrInterfaceDeclaration n, Visitable arg)List<R>GenericListVisitorAdapter. visit(ClassOrInterfaceDeclaration n, A arg)RGenericVisitor. visit(ClassOrInterfaceDeclaration n, A arg)RGenericVisitorAdapter. visit(ClassOrInterfaceDeclaration n, A arg)IntegerHashCodeVisitor. visit(ClassOrInterfaceDeclaration n, Void arg)VisitableModifierVisitor. visit(ClassOrInterfaceDeclaration n, A arg)BooleanObjectIdentityEqualsVisitor. visit(ClassOrInterfaceDeclaration n, Visitable arg)IntegerObjectIdentityHashCodeVisitor. visit(ClassOrInterfaceDeclaration n, Void arg)voidVoidVisitor. visit(ClassOrInterfaceDeclaration n, A arg)voidVoidVisitorAdapter. visit(ClassOrInterfaceDeclaration n, A arg) -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.generator
Methods in com.github.javaparser.generator with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description protected voidNodeGenerator. addOrReplaceWhenSameSignature(ClassOrInterfaceDeclaration containingClassOrInterface, CallableDeclaration<?> callable)Utility method that looks for a method or constructor with an identical signature as "callable" and replaces it with callable.protected abstract voidNodeGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidNodeGenerator. replaceWhenSameSignature(ClassOrInterfaceDeclaration containingClassOrInterface, CallableDeclaration<?> callable)Utility method that looks for a method or constructor with an identical signature as "callable" and replaces it with callable. -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.generator.core.node
Methods in com.github.javaparser.generator.core.node with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description protected voidCloneGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidFinalGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidGetMetaModelGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidGetNodeListsGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidMainConstructorGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidPropertyGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidRemoveMethodGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid)protected voidReplaceMethodGenerator. generateNode(BaseNodeMetaModel nodeMetaModel, CompilationUnit nodeCu, ClassOrInterfaceDeclaration nodeCoid) -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.generator.metamodel
Methods in com.github.javaparser.generator.metamodel with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description voidInitializePropertyMetaModelsStatementsGenerator. generate(Class<?> nodeClass, Field field, ClassOrInterfaceDeclaration nodeMetaModelClass, String nodeMetaModelFieldName, NodeList<Statement> initializePropertyMetaModelsStatements)voidNodeMetaModelGenerator. generate(Class<? extends Node> nodeClass, ClassOrInterfaceDeclaration metaModelCoid, NodeList<Statement> initializeNodeMetaModelsStatements, NodeList<Statement> initializePropertyMetaModelsStatements, NodeList<Statement> initializeConstructorParametersStatements, SourceRoot sourceRoot)voidInitializePropertyMetaModelsStatementsGenerator. generateDerivedProperty(Method method, ClassOrInterfaceDeclaration nodeMetaModelClass, String nodeMetaModelFieldName, NodeList<Statement> initializePropertyMetaModelsStatements) -
Uses of ClassOrInterfaceDeclaration in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type ClassOrInterfaceDeclaration Modifier and Type Method Description voidPrettyPrintVisitor. visit(ClassOrInterfaceDeclaration n, Void arg)
-