Searched refs:classOrInterfaceDeclaration (Results 1 – 15 of 15) sorted by relevance
65 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in getParentForTopClass() local66 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in getParentForTopClass()75 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveExistingGenericType() local76 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveExistingGenericType()95 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveUnexistingGenericType() local96 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveUnexistingGenericType()106 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveSymbolReferringToDeclaredInstanceField() local107 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveSymbolReferringToDeclaredInstanceField()117 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = Navigator.demandClass(cu, "A"); in solveSymbolReferringToDeclaredStaticField() local118 … Context context = new ClassOrInterfaceDeclarationContext(classOrInterfaceDeclaration, typeSolver); in solveSymbolReferringToDeclaredStaticField()[all …]
136 … ClassOrInterfaceDeclaration classOrInterfaceDeclaration = compilationUnit.addClass("Person"); in testAddPrivateFieldWithType() local137 classOrInterfaceDeclaration.addPrivateField(parseType("java.lang.String"), "name"); in testAddPrivateFieldWithType()139 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddPrivateFieldWithType()140 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddPrivateFieldWithType()142 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddPrivateFieldWithType()151 … ClassOrInterfaceDeclaration classOrInterfaceDeclaration = compilationUnit.addClass("Person"); in testAddPublicFieldWithType() local152 classOrInterfaceDeclaration.addPublicField(parseType("java.lang.String"), "name"); in testAddPublicFieldWithType()154 assertNotNull(classOrInterfaceDeclaration.getFields()); in testAddPublicFieldWithType()155 assertEquals(1, classOrInterfaceDeclaration.getFields().size()); in testAddPublicFieldWithType()157 FieldDeclaration fieldDeclaration = classOrInterfaceDeclaration.getFields().get(0); in testAddPublicFieldWithType()[all …]
280 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration( in addClass() local284 getTypes().add(classOrInterfaceDeclaration); in addClass()285 classOrInterfaceDeclaration.setParentNode(this); in addClass()286 return classOrInterfaceDeclaration; in addClass()307 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration( in addInterface() local311 getTypes().add(classOrInterfaceDeclaration); in addInterface()312 classOrInterfaceDeclaration.setParentNode(this); in addInterface()313 return classOrInterfaceDeclaration; in addInterface()
215 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)compilation… in addingStatement1() local216 …MethodDeclaration methodDeclaration = (MethodDeclaration)classOrInterfaceDeclaration.getChildNodes… in addingStatement1()245 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)compilation… in addingStatement2() local246 …MethodDeclaration methodDeclaration = (MethodDeclaration)classOrInterfaceDeclaration.getChildNodes… in addingStatement2()275 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)compilation… in addingStatement3() local276 …MethodDeclaration methodDeclaration = (MethodDeclaration)classOrInterfaceDeclaration.getChildNodes… in addingStatement3()
74 ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration(); in cloneJavaDocTest() local75 classOrInterfaceDeclaration.setName("classOrInterfaceDeclarationTest"); in cloneJavaDocTest()76 typeDeclarationList.add(classOrInterfaceDeclaration.setJavadocComment("javadoc")); in cloneJavaDocTest()
366 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration(createMo… in addClass() local367 getTypes().add(classOrInterfaceDeclaration); in addClass()368 return classOrInterfaceDeclaration; in addClass()389 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = new ClassOrInterfaceDeclaration(createMo… in addInterface() local390 getTypes().add(classOrInterfaceDeclaration); in addInterface()391 return classOrInterfaceDeclaration; in addInterface()
97 …ClassOrInterfaceDeclaration classOrInterfaceDeclaration = (ClassOrInterfaceDeclaration)cu.getType(… in constructorDeclarationResolve() local98 …ConstructorDeclaration constructorDeclaration = classOrInterfaceDeclaration.getDefaultConstructor(… in constructorDeclarationResolve()
47 Line 284) getTypes().add(classOrInterfaceDeclaration) ==> java.util.List.add(E)49 …Line 285) classOrInterfaceDeclaration.setParentNode(this) ==> com.github.javaparser.ast.Node.setPa…55 Line 311) getTypes().add(classOrInterfaceDeclaration) ==> java.util.List.add(E)57 …Line 312) classOrInterfaceDeclaration.setParentNode(this) ==> com.github.javaparser.ast.Node.setPa…
509 …erenceTypeDeclaration getTypeDeclaration(ClassOrInterfaceDeclaration classOrInterfaceDeclaration) { in getTypeDeclaration() argument510 return JavaParserFactory.toTypeDeclaration(classOrInterfaceDeclaration, typeSolver); in getTypeDeclaration()
39 * classOrInterfaceDeclaration45 * classOrInterfaceDeclaration337 : classOrInterfaceDeclaration341 classOrInterfaceDeclaration825 | classOrInterfaceDeclaration
1131 classOrInterfaceDeclaration(); in typeDeclaration()1174 public final void classOrInterfaceDeclaration() throws RecognitionException { in classOrInterfaceDeclaration() method in JavaParser7081 classOrInterfaceDeclaration(); in blockStatement()14633 classOrInterfaceDeclaration(); in synpred126_Java_fragment()
602 …erenceTypeDeclaration getTypeDeclaration(ClassOrInterfaceDeclaration classOrInterfaceDeclaration) { in getTypeDeclaration() argument603 return JavaParserFactory.toTypeDeclaration(classOrInterfaceDeclaration, typeSolver); in getTypeDeclaration()
249 …Line 510) JavaParserFactory.toTypeDeclaration(classOrInterfaceDeclaration, typeSolver) ==> com.git…
META-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...