Searched refs:bodyDeclaration (Results 1 – 16 of 16) sorted by relevance
145 for (BodyDeclaration bodyDeclaration in trackDeprecationsRecursively()147 if (isApiVisible(matchedType, bodyDeclaration) && isDeprecated(bodyDeclaration)) { in trackDeprecationsRecursively()148 deprecatedElements.addAll(BodyDeclarationLocators.toLocatorStringForms(bodyDeclaration)); in trackDeprecationsRecursively()149 if (bodyDeclaration instanceof AbstractTypeDeclaration) { in trackDeprecationsRecursively()150 trackDeprecationsRecursively((AbstractTypeDeclaration) bodyDeclaration); in trackDeprecationsRecursively()157 AbstractTypeDeclaration matchedType, BodyDeclaration bodyDeclaration) { in isApiVisible() argument167 if (bodyDeclaration instanceof EnumConstantDeclaration) { in isApiVisible()171 return (bodyDeclaration.getModifiers() & (Modifier.PROTECTED | Modifier.PUBLIC)) > 0; in isApiVisible()174 private static boolean isDeprecated(BodyDeclaration bodyDeclaration) { in isDeprecated() argument175 Javadoc doc = bodyDeclaration.getJavadoc(); in isDeprecated()
48 BodyDeclaration bodyDeclaration = locator.find(cu); in process() local49 if (bodyDeclaration != null) { in process()50 matchingNodes.add(bodyDeclaration); in process()56 for (BodyDeclaration bodyDeclaration : Lists.reverse(matchingNodes)) { in process()57 JavadocUtils.addJavadocTag(rewrite, bodyDeclaration, tagComment); in process()
112 for (BodyDeclaration bodyDeclaration : Lists.reverse(matchingNodes)) { in process()113 JavadocUtils.addJavadocTag(rewrite, bodyDeclaration, tagComment); in process()
57 public static List<String> toLocatorStringForms(BodyDeclaration bodyDeclaration) { in toLocatorStringForms() argument58 List<BodyDeclarationLocator> locators = createLocators(bodyDeclaration); in toLocatorStringForms()70 public static List<BodyDeclarationLocator> createLocators(BodyDeclaration bodyDeclaration) { in createLocators() argument71 AbstractTypeDeclaration typeDeclaration = TypeLocator.findTypeDeclarationNode(bodyDeclaration); in createLocators()77 int nodeType = bodyDeclaration.getNodeType(); in createLocators()80 List<String> fieldNames = FieldLocator.getFieldNames((FieldDeclaration) bodyDeclaration); in createLocators()87 MethodDeclaration methodDeclaration = (MethodDeclaration) bodyDeclaration; in createLocators()96 EnumConstantDeclaration enumConstantDeclaration = (EnumConstantDeclaration) bodyDeclaration; in createLocators()
225 for (BodyDeclaration bodyDeclaration : bodyDeclarations) { in findNested()226 if (bodyDeclaration instanceof AbstractTypeDeclaration) { in findNested()227 AbstractTypeDeclaration subTypeDeclaration = (AbstractTypeDeclaration) bodyDeclaration; in findNested()278 public static AbstractTypeDeclaration findTypeDeclarationNode(BodyDeclaration bodyDeclaration) { in findTypeDeclarationNode() argument279 if (bodyDeclaration instanceof AbstractTypeDeclaration) { in findTypeDeclarationNode()280 return (AbstractTypeDeclaration) bodyDeclaration; in findTypeDeclarationNode()282 ASTNode parentNode = bodyDeclaration.getParent(); in findTypeDeclarationNode()
74 for (BodyDeclaration bodyDeclaration in find()76 if (bodyDeclaration instanceof MethodDeclaration) { in find()77 MethodDeclaration methodDeclaration = (MethodDeclaration) bodyDeclaration; in find()
81 for (BodyDeclaration bodyDeclaration in find()83 if (bodyDeclaration instanceof FieldDeclaration) { in find()84 FieldDeclaration fieldDeclaration = (FieldDeclaration) bodyDeclaration; in find()
70 return (annotationInfo, locator, bodyDeclaration) -> changed( in asAddAnnotationListener()
104 final BodyDeclaration<?> bodyDeclaration = JavaParser.parseBodyDeclaration("int x=1;"); in fieldDeclarationCantSurviveWithoutVariables() local106 final Visitable result = bodyDeclaration.accept(new ModifierVisitor<Void>() { in fieldDeclarationCantSurviveWithoutVariables()117 … final BodyDeclaration<?> bodyDeclaration = JavaParser.parseBodyDeclaration("void x() {int x=1;}"); in variableDeclarationCantSurviveWithoutVariables() local119 final Visitable result = bodyDeclaration.accept(new ModifierVisitor<Void>() { in variableDeclarationCantSurviveWithoutVariables()
94 BodyDeclaration<?> bodyDeclaration = bodyItr.next(); in cloneJavaDocTest() local95 assertEquals(bodyDeclaration.getComment().get().getContent(), " javadoc"); in cloneJavaDocTest()
152 for (BodyDeclaration<?> bodyDeclaration : type.getMembers()) { in getMethodByPositionAndClassPosition()153 if (bodyDeclaration instanceof MethodDeclaration) { in getMethodByPositionAndClassPosition()
229 cd.getMembers().replaceAll(bodyDeclaration -> {230 FieldDeclaration clone = (FieldDeclaration) bodyDeclaration.clone();
236 BodyDeclaration bodyDeclaration); in onAddAnnotation() argument
META-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
META-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...