/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | TypeLocator.java | 40 public final class TypeLocator implements BodyDeclarationLocator { class 53 public TypeLocator(String fullyQualifiedClassName) { in TypeLocator() method in TypeLocator 60 public TypeLocator(TypeName typeName) { in TypeLocator() method in TypeLocator 71 public TypeLocator(String packageName, String className) { in TypeLocator() method in TypeLocator 82 public TypeLocator(final AbstractTypeDeclaration typeDeclaration) { in TypeLocator() method in TypeLocator 113 public static List<TypeLocator> createLocatorsFromStrings(String[] classes) { in createLocatorsFromStrings() 114 ImmutableList.Builder<TypeLocator> apiClassesAllowlistBuilder = ImmutableList.builder(); in createLocatorsFromStrings() 116 apiClassesAllowlistBuilder.add(new TypeLocator(publicClassName)); in createLocatorsFromStrings() 129 public static List<TypeLocator> readTypeLocators(Path path) { in readTypeLocators() 153 @Override public TypeLocator getTypeLocator() { in getTypeLocator() [all …]
|
D | BodyDeclarationLocators.java | 71 AbstractTypeDeclaration typeDeclaration = TypeLocator.findTypeDeclarationNode(bodyDeclaration); in createLocators() 75 TypeLocator typeLocator = new TypeLocator(typeDeclaration); in createLocators() 116 return new FieldLocator(new TypeLocator(typeAndField.get(0)), typeAndField.get(1)); in fromStringForm() 127 return new MethodLocator(new TypeLocator(typeAndMethod.get(0)), methodName, parameterTypes); in fromStringForm() 128 case TypeLocator.LOCATOR_TYPE_NAME: in fromStringForm() 129 return new TypeLocator(locatorString); in fromStringForm() 133 new TypeLocator(typeAndConstant.get(0)), typeAndConstant.get(1)); in fromStringForm() 215 return createLocatorsFromStrings(TypeLocator.readLines(path)); in readBodyDeclarationLocators()
|
D | EnumConstantLocator.java | 35 private final TypeLocator typeLocator; 40 this(new TypeLocator(packageName, typeName), constantName); in EnumConstantLocator() 43 public EnumConstantLocator(TypeLocator typeLocator, String constantName) { in EnumConstantLocator() 48 @Override public TypeLocator getTypeLocator() { in getTypeLocator()
|
D | FieldLocator.java | 37 private final TypeLocator typeLocator; 42 this(new TypeLocator(packageName, typeName), fieldName); in FieldLocator() 45 public FieldLocator(TypeLocator typeLocator, String fieldName) { in FieldLocator() 50 @Override public TypeLocator getTypeLocator() { in getTypeLocator()
|
D | MethodLocator.java | 35 private final TypeLocator typeLocator; 41 public MethodLocator(TypeLocator typeLocator, String methodName, List<String> parameterTypes) { in MethodLocator() 47 @Override public TypeLocator getTypeLocator() { in getTypeLocator()
|
D | BodyDeclarationLocator.java | 50 TypeLocator getTypeLocator(); in getTypeLocator()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | HidePublicClasses.java | 18 import com.google.currysrc.api.process.ast.TypeLocator; 30 private final List<TypeLocator> allowlist; 32 public HidePublicClasses(List<TypeLocator> allowlist, String reason) { in HidePublicClasses() 42 for (TypeLocator allowlistedType : allowlist) { in mustTag()
|
D | AddDefaultConstructor.java | 20 import com.google.currysrc.api.process.ast.TypeLocator; 45 private final List<TypeLocator> allowlist; 56 void onAddDefaultConstructor(TypeLocator locator, TypeDeclaration typeDeclaration); in onAddDefaultConstructor() 59 public AddDefaultConstructor(List<TypeLocator> allowlist) { in AddDefaultConstructor() 71 for (TypeLocator typeLocator : allowlist) { in process()
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | CaptureDeprecatedElements.java | 29 import com.google.currysrc.api.process.ast.TypeLocator; 92 ImmutableList.Builder<TypeLocator> apiClassesAllowlistBuilder = ImmutableList.builder(); in CaptureDeprecatedMethodsRules() 96 apiClassesAllowlistBuilder.add(new TypeLocator(originalIcuClassName)); in CaptureDeprecatedMethodsRules() 123 private final List<TypeLocator> publicClassLocators; 126 public CaptureDeprecatedProcessor(List<TypeLocator> publicClassLocators) { in CaptureDeprecatedProcessor() 132 for (TypeLocator publicClassLocator : publicClassLocators) { in process()
|
D | Icu4jTransform.java | 34 import com.google.currysrc.api.process.ast.TypeLocator; 1023 TypeLocator.createLocatorsFromStrings(DEFAULT_CONSTRUCTORS))), in createTransformRules() 1084 List<TypeLocator> allowlist = TypeLocator.createLocatorsFromStrings(PUBLIC_API_CLASSES); in createHidePublicClassesRule()
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/ |
D | RecordPublicApiRules.java | 27 import com.google.currysrc.api.process.ast.TypeLocator; 156 AbstractTypeDeclaration typeDeclaration = TypeLocator.findTypeDeclarationNode(node); in isPublicApiEligible() 174 typeDeclaration = TypeLocator.findEnclosingTypeDeclaration(typeDeclaration); in isPublicApiEligible()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/aosp/ |
D | RepackagingTransform.java | 30 import com.google.currysrc.api.process.ast.TypeLocator; 201 TypeLocator.readTypeLocators(defaultConstructorsFile)); in main() 264 List<TypeLocator> publicApiClassesAllowlist = Collections.emptyList(); in createHidePublicClassesRule()
|