Home
last modified time | relevance | path

Searched refs:BodyDeclarationLocator (Results 1 – 13 of 13) sorted by relevance

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DBodyDeclarationLocators.java43 public static List<BodyDeclarationLocator> createLocatorsFromStrings(String[] locatorStrings) { in createLocatorsFromStrings()
44 ImmutableList.Builder<BodyDeclarationLocator> locatorListBuilder = ImmutableList.builder(); in createLocatorsFromStrings()
46 BodyDeclarationLocator locator = BodyDeclarationLocators.fromStringForm(locatorString); in createLocatorsFromStrings()
58 List<BodyDeclarationLocator> locators = createLocators(bodyDeclaration); in toLocatorStringForms()
60 for (BodyDeclarationLocator locator : locators) { in toLocatorStringForms()
70 public static List<BodyDeclarationLocator> createLocators(BodyDeclaration bodyDeclaration) { in createLocators()
81 List<BodyDeclarationLocator> fieldLocators = new ArrayList<>(fieldNames.size()); in createLocators()
89 return ImmutableList.<BodyDeclarationLocator>of( in createLocators()
94 return ImmutableList.<BodyDeclarationLocator>of(typeLocator); in createLocators()
98 return ImmutableList.<BodyDeclarationLocator>of( in createLocators()
[all …]
DBodyDeclarationLocatorStore.java31 private final Map<BodyDeclarationLocator, T> locator2Data;
45 public void add(BodyDeclarationLocator locator, T data) { in add()
66 for (Entry<BodyDeclarationLocator, T> entry : locator2Data.entrySet()) { in find()
76 private final BodyDeclarationLocator locator;
79 private Mapping(BodyDeclarationLocator locator, T value) { in Mapping()
84 public BodyDeclarationLocator getLocator() { in getLocator()
106 for (Entry<BodyDeclarationLocator, T> entry : locator2Data.entrySet()) { in findMapping()
DBodyDeclarationLocator.java25 public interface BodyDeclarationLocator { interface
DEnumConstantLocator.java31 public final class EnumConstantLocator implements BodyDeclarationLocator {
DMethodLocator.java31 public final class MethodLocator implements BodyDeclarationLocator {
DFieldLocator.java33 public final class FieldLocator implements BodyDeclarationLocator {
DTypeLocator.java40 public final class TypeLocator implements BodyDeclarationLocator {
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DTagMatchingDeclarations.java22 import com.google.currysrc.api.process.ast.BodyDeclarationLocator;
36 private final List<BodyDeclarationLocator> locatorList;
39 public TagMatchingDeclarations(List<BodyDeclarationLocator> locatorList, String tagComment) { in TagMatchingDeclarations()
47 for (BodyDeclarationLocator locator : locatorList) { in process()
DIcu4jTransform.java32 import com.google.currysrc.api.process.ast.BodyDeclarationLocator;
937 List<BodyDeclarationLocator> whitelist = in createTranslateJciteInclusionRule()
945 List<BodyDeclarationLocator> blacklist = in createHideOriginalDeprecatedClassesRule()
952 List<BodyDeclarationLocator> locators = in createMarkElementsWithDeprecatedAnnotationRule()
959 List<BodyDeclarationLocator> locators = in createMarkElementsWithDeprecatedJavadocTagRule()
966 List<BodyDeclarationLocator> blacklist = in createHideBlacklistedDeclarationsRule()
980 List<BodyDeclarationLocator> bodyDeclarationLocators = null; in createHideNonWhitelistedRule()
DHideNonWhitelistedDeclarations.java23 import com.google.currysrc.api.process.ast.BodyDeclarationLocator;
45 private final List<BodyDeclarationLocator> whitelist;
48 public HideNonWhitelistedDeclarations(List<BodyDeclarationLocator> whitelist, String tagComment) { in HideNonWhitelistedDeclarations()
DTranslateJcite.java22 import com.google.currysrc.api.process.ast.BodyDeclarationLocator;
115 private final List<BodyDeclarationLocator> whitelist;
117 public InclusionHandler(String sampleSrcDir, List<BodyDeclarationLocator> whitelist) { in InclusionHandler()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DAddAnnotation.java20 import com.google.currysrc.api.process.ast.BodyDeclarationLocator;
134 BodyDeclarationLocator locator = null; in fromJsonFile()
204 List<BodyDeclarationLocator> locators = in markerAnnotationFromFlatFile()
217 List<BodyDeclarationLocator> locators) { in markerAnnotationFromLocators()
235 void onAddAnnotation(AnnotationInfo annotationInfo, BodyDeclarationLocator locator, in onAddAnnotation()
297 BodyDeclarationLocator locator = mapping.getLocator(); in handleBodyDeclaration()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/
DSourceMatchers.java18 import com.google.currysrc.api.process.ast.BodyDeclarationLocator;
50 public static SourceMatcher contains(final BodyDeclarationLocator locator) { in contains()