/external/doclava/src/com/google/doclava/ |
D | PackageInfo.java | 64 mAnnotationsMap = new HashMap<String, ClassInfo>(); in initializeMaps() 65 mInterfacesMap = new HashMap<String, ClassInfo>(); in initializeMaps() 66 mOrdinaryClassesMap = new HashMap<String, ClassInfo>(); in initializeMaps() 67 mEnumsMap = new HashMap<String, ClassInfo>(); in initializeMaps() 68 mExceptionsMap = new HashMap<String, ClassInfo>(); in initializeMaps() 69 mErrorsMap = new HashMap<String, ClassInfo>(); in initializeMaps() 90 ClassInfo[][] types = new ClassInfo[][] { annotations(), interfaces(), ordinaryClasses(), in isHidden() 92 for (ClassInfo[] type : types) { in isHidden() 94 for (ClassInfo c : type) { in isHidden() 115 ClassInfo[][] types = new ClassInfo[][] { annotations(), interfaces(), ordinaryClasses(), in isRemoved() [all …]
|
D | FederationTagger.java | 48 public void tag(ClassInfo classDoc) { in tag() 51 applyFederation(site, new ClassInfo[] { classDoc }); in tag() 55 public void tagAll(ClassInfo[] classDocs) { in tagAll() 93 private void applyFederation(FederatedSite federationSource, ClassInfo[] classDocs) { in applyFederation() 94 for (ClassInfo classDoc : classDocs) { in applyFederation() 102 ClassInfo classSpec = packageSpec.allClasses().get(classDoc.name()); in applyFederation() 116 private void federateMethods(FederatedSite site, ClassInfo federatedClass, ClassInfo localClass) { in federateMethods() 118 for (ClassInfo superclass : federatedClass.hierarchy()) { in federateMethods() 127 private void federateConstructors(FederatedSite site, ClassInfo federatedClass, in federateConstructors() 128 ClassInfo localClass) { in federateConstructors() [all …]
|
D | Stubs.java | 46 final HashSet<ClassInfo> notStrippable = new HashSet<ClassInfo>(); in writeStubsAndApi() 47 ClassInfo[] all = Converter.allClasses(); in writeStubsAndApi() 85 for (ClassInfo cl : all) { in writeStubsAndApi() 93 for (ClassInfo cl : notStrippable) { in writeStubsAndApi() 106 ClassInfo hiddenClass = findHiddenClasses(m.returnType()); in writeStubsAndApi() 148 ClassInfo returnClass = m.returnType().asClassInfo(); in writeStubsAndApi() 172 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi() 174 for (ClassInfo cl : notStrippable) { in writeStubsAndApi() 186 ArrayList<ClassInfo> classes = new ArrayList<ClassInfo>(); in writeStubsAndApi() 206 HashMap<PackageInfo, List<ClassInfo>> allPackageClassMap = in writeStubsAndApi() [all …]
|
D | ClassInfo.java | 36 public class ClassInfo extends DocInfo implements ContainerInfo, Comparable, Scoped, Resolvable { class 45 private final ClassInfo mClassInfo; 48 public ClassTypePair(ClassInfo cl, TypeInfo t) { in ClassTypePair() 53 public ClassInfo classInfo() { in classInfo() 66 public static final Comparator<ClassInfo> comparator = new Comparator<ClassInfo>() { 67 public int compare(ClassInfo a, ClassInfo b) { 72 public static final Comparator<ClassInfo> qualifiedComparator = new Comparator<ClassInfo>() { 73 public int compare(ClassInfo a, ClassInfo b) { 81 public ClassInfo(String qualifiedName) { in ClassInfo() method in ClassInfo 91 public ClassInfo(ClassDoc cl, String rawCommentText, SourcePositionInfo position, in ClassInfo() method in ClassInfo [all …]
|
D | SinceTagger.java | 56 public void tagAll(ClassInfo[] classDocs) { in tagAll() 105 private void applyVersionsFromSpec(String versionName, ApiInfo specApi, ClassInfo[] classDocs) { in applyVersionsFromSpec() 106 for (ClassInfo classDoc : classDocs) { in applyVersionsFromSpec() 114 ClassInfo classSpec = packageSpec.allClasses().get(classDoc.name()); in applyVersionsFromSpec() 140 private void versionClass(String versionName, ClassInfo spec, ClassInfo doc) { in versionClass() 156 private void versionConstructors(String versionName, ClassInfo spec, ClassInfo doc) { in versionConstructors() 179 private void versionFields(String versionName, ClassInfo spec, ClassInfo doc) { in versionFields() 202 private void versionMethods(String versionName, ClassInfo spec, ClassInfo doc) { in versionMethods() 220 for (ClassInfo superclass : spec.hierarchy()) { in versionMethods() 234 private void warnForMissingVersions(ClassInfo[] classDocs) { in warnForMissingVersions() [all …]
|
D | MethodInfo.java | 47 private static void addInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addInterfaces() 48 for (ClassInfo i : ifaces) { in addInterfaces() 51 for (ClassInfo i : ifaces) { in addInterfaces() 67 ArrayList<ClassInfo> queue = new ArrayList<ClassInfo>(); in findOverriddenMethod() 69 for (ClassInfo iface : queue) { in findOverriddenMethod() 80 private static void addRealInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addRealInterfaces() 81 for (ClassInfo i : ifaces) { in addRealInterfaces() 87 for (ClassInfo i : ifaces) { in addRealInterfaces() 101 ArrayList<ClassInfo> queue = new ArrayList<ClassInfo>(); in findRealOverriddenMethod() 107 for (ClassInfo iface : queue) { in findRealOverriddenMethod() [all …]
|
D | Doclava.java | 798 ClassInfo[] classes = Converter.rootClasses(); in makePackageHDF() 801 for (ClassInfo cl : classes) { in makePackageHDF() 822 ClassInfo[] classesToCheck = null; in makePackageHDF() 847 for (ClassInfo cl : classesToCheck) { in makePackageHDF() 963 ClassInfo[] classes = Converter.rootClasses(); in writeLists() 966 for (ClassInfo cl : classes) { in writeLists() 1002 } else if (o instanceof ClassInfo) { in writeLists() 1003 ClassInfo cl = (ClassInfo) o; in writeLists() 1121 public static void cantStripThis(ClassInfo cl, HashSet<ClassInfo> notStrippable) { in cantStripThis() 1127 ClassInfo supr = cl.superclass(); in cantStripThis() [all …]
|
D | InfoBuilder.java | 47 private ClassInfo mRootClass; 113 public static void printClassInfo(ClassInfo cl) { in printClassInfo() 136 for (ClassInfo cls : cl.realInterfaces()) { in printClassInfo() 238 for (ClassInfo c : m.thrownExceptions()) { in printClassInfo() 280 for (ClassInfo c : cl.innerClasses()) { in printClassInfo() 451 private ClassInfo buildClass(ParseTree tree, ClassInfo containingClass) { in buildClass() 454 ClassInfo cls = null; in buildClass() 521 private void parseInterfaces(ParseTree tree, ClassInfo cls) { in parseInterfaces() 555 private ClassInfo buildClassName(ParseTree tree, ClassInfo containingClass, Modifiers modifiers, in buildClassName() 581 ClassInfo cls = null; in buildClassName() [all …]
|
D | MemberInfo.java | 23 ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, in MemberInfo() 91 public ClassInfo realContainingClass() { in realContainingClass() 95 public ClassInfo containingClass() { in containingClass() 176 ClassInfo mContainingClass; 177 ClassInfo mRealContainingClass;
|
D | Converter.java | 58 ArrayList<ClassInfo> classesNeedingInit2 = new ArrayList<ClassInfo>(); in makeInfo() 71 for (ClassInfo cl : classesNeedingInit2) { in makeInfo() 100 private static ClassInfo[] mRootClasses; 102 public static ClassInfo[] rootClasses() { in rootClasses() 106 public static ClassInfo[] allClasses() { in allClasses() 107 return (ClassInfo[]) mClasses.all(); in allClasses() 112 private static void initClass(ClassDoc c, ClassInfo cl) { in initClass() 120 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.interfaces()))), in initClass() 122 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.innerClasses()))), in initClass() 154 new ArrayList<ClassInfo>(Arrays.asList( in initClass() [all …]
|
D | ThrowsTagInfo.java | 33 private ClassInfo mException; 43 if (base instanceof ClassInfo) { in ThrowsTagInfo() 44 mException = ((ClassInfo) base).findClass(className); in ThrowsTagInfo() 52 public ThrowsTagInfo(String name, String kind, String text, ClassInfo exception, in ThrowsTagInfo() 59 public ClassInfo exception() { in exception()
|
D | NavTree.java | 71 ClassInfo[] classes = Converter.rootClasses(); in writeYamlTree() 74 for (ClassInfo cl : classes) { in writeYamlTree() 115 } else if (o instanceof ClassInfo) { in makeYamlHDF() 116 ClassInfo cl = (ClassInfo) o; in makeYamlHDF() 131 public static Data makeYamlHDF(ClassInfo cl, String base, Data data) { in makeYamlHDF() 139 for (ClassInfo cl2 : cl.innerClasses()){ in makeYamlHDF() 160 private static void addClassNodes(List<Node> parent, String label, ClassInfo[] classes) { in addClassNodes() 163 for (ClassInfo cl : classes) { in addClassNodes()
|
D | Hierarchy.java | 26 public static void makeHierarchy(Data hdf, ClassInfo[] classes) { in makeHierarchy() 29 for (ClassInfo cl : classes) { in makeHierarchy() 38 ClassInfo superclass = cl.superclass(); in makeHierarchy() 90 private static boolean exists(ClassInfo cl) { in exists() 101 ClassInfo cl = Converter.obtainClass(name); in recurse() 114 for (ClassInfo iface : cl.interfaces()) { in recurse()
|
D | AtLinksNavTree.java | 112 private static boolean addClasses(StringBuilder buf, ClassInfo[] classes, in addClasses() 114 for (ClassInfo cl : classes) { in addClasses() 141 boolean is_first_member, ClassInfo cl) { in addFields() 168 boolean is_first_member, ClassInfo cl) { in addMethods()
|
D | AnnotationInstanceInfo.java | 25 private ClassInfo mType; 35 public AnnotationInstanceInfo(ClassInfo type, AnnotationValueInfo[] elementValues) { in AnnotationInstanceInfo() 40 ClassInfo type() { in type() 44 public void setClass(ClassInfo cl) { in setClass()
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | ApiInfo.java | 19 import com.google.doclava.ClassInfo; 34 private HashMap<String, ClassInfo> mAllClasses 35 = new HashMap<String, ClassInfo>(); 36 private Map<ClassInfo,String> mClassToSuper 37 = new HashMap<ClassInfo, String>(); 38 private Map<ClassInfo, ArrayList<String>> mClassToInterface 39 = new HashMap<ClassInfo, ArrayList<String>>(); 42 public ClassInfo findClass(String name) { in findClass() 47 for (ClassInfo cl : mAllClasses.values()) { in resolveInterfaces() 53 ClassInfo ci = mAllClasses.get(iface); in resolveInterfaces() [all …]
|
D | XmlApiFile.java | 20 import com.google.doclava.ClassInfo; 46 private ClassInfo mCurrentClass; 48 private Stack<ClassInfo> mClassScope = new Stack<ClassInfo>(); 106 new ClassInfo(classDoc, rawCommentText, position, isPublic, isProtected, in startElement() 129 ClassInfo containingClass = mCurrentClass; in startElement() 130 ClassInfo realContainingClass = mCurrentClass; in startElement() 149 ArrayList<ClassInfo> thrownExceptions = new ArrayList<ClassInfo>(); in startElement() 172 new ArrayList<ParameterInfo>(), new ArrayList<ClassInfo>()/*thrownExceptions*/, in startElement() 239 private String qualifiedName(String pkg, String className, ClassInfo parent) { in qualifiedName()
|
D | ApiFile.java | 20 import com.google.doclava.ClassInfo; 129 ClassInfo cl; in parseClass() 172 cl = new ClassInfo(null/*classDoc*/, ""/*rawCommentText*/, tokenizer.pos(), pub, prot, in parseClass() 228 private static void parseConstructor(Tokenizer tokenizer, ClassInfo cl, String token) in parseConstructor() 264 new ArrayList<ClassInfo>()/*thrownExceptions*/, tokenizer.pos(), in parseConstructor() 279 private static void parseMethod(Tokenizer tokenizer, ClassInfo cl, String token) in parseMethod() 347 new ArrayList<ParameterInfo>(), new ArrayList<ClassInfo>()/*thrownExceptions*/, in parseMethod() 366 private static void parseField(Tokenizer tokenizer, ClassInfo cl, String token, boolean isEnum) in parseField() 492 List<TypeInfo> methodTypeParameters, ClassInfo cl) throws ApiParseException { in parseTypeParameterList() 590 private static String qualifiedName(String pkg, String className, ClassInfo parent) { in qualifiedName()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | ClassPath.java | 62 private static final Predicate<ClassInfo> IS_TOP_LEVEL = new Predicate<ClassInfo>() { 63 @Override public boolean apply(ClassInfo info) { 110 public ImmutableSet<ClassInfo> getAllClasses() { in getAllClasses() 111 return FluentIterable.from(resources).filter(ClassInfo.class).toSet(); in getAllClasses() 115 public ImmutableSet<ClassInfo> getTopLevelClasses() { in getTopLevelClasses() 116 return FluentIterable.from(resources).filter(ClassInfo.class).filter(IS_TOP_LEVEL).toSet(); in getTopLevelClasses() 120 public ImmutableSet<ClassInfo> getTopLevelClasses(String packageName) { in getTopLevelClasses() 122 ImmutableSet.Builder<ClassInfo> builder = ImmutableSet.builder(); in getTopLevelClasses() 123 for (ClassInfo classInfo : getTopLevelClasses()) { in getTopLevelClasses() 135 public ImmutableSet<ClassInfo> getTopLevelClassesRecursive(String packageName) { in getTopLevelClassesRecursive() [all …]
|
/external/llvm/test/Bitcode/ |
D | metadata-2.ll | 3 …%0 = type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %1, %"ClassInfo[]", i32, void ()*, void ()… 6 %"ClassInfo[]" = type { i64, %object.ClassInfo** } 12 …%object.ClassInfo = type { %object.ClassInfo.__vtbl*, i8*, %"byte[]", %"byte[]", %"void*[]", %"Int… 13 …ClassInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Object*)*… 14 %object.Interface = type { %object.ClassInfo*, %"void*[]", i64 } 15 …= type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %"ModuleInfo[]", %"ClassInfo[]", i32, void ()… 16 …%object.ModuleInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.… 20 …%object.TypeInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Ob… 24 …tr ([20 x i8], [20 x i8]* @.str, i32 0, i32 0) }, %1 zeroinitializer, %"ClassInfo[]" zeroinitializ…
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 27 import com.google.common.reflect.ClassPath.ClassInfo; 92 for (ClassInfo classInfo : classpath.getAllClasses()) { in testGetAllClasses() 121 for (ClassInfo classInfo in testGetTopLevelClasses() 140 for (ClassInfo classInfo in testGetTopLevelClassesRecursive() 366 assertEquals(ClassInfo.class, resourceInfo(ClassPathTest.class).getClass()); in testResourceInfo_of() 367 assertEquals(ClassInfo.class, resourceInfo(ClassPath.class).getClass()); in testResourceInfo_of() 368 assertEquals(ClassInfo.class, resourceInfo(Nested.class).getClass()); in testResourceInfo_of() 373 new ClassInfo("Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName() 375 new ClassInfo("a/b/Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName() 377 new ClassInfo("a/b/Bar$Foo.class", getClass().getClassLoader()).getSimpleName()); in testGetSimpleName() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | ClassInfo.java | 21 abstract public class ClassInfo { class 23 protected ClassInfo() { in ClassInfo() method in ClassInfo 34 if (!(o instanceof ClassInfo)) in equals() 36 return getType().equals(((ClassInfo)o).getType()); in equals()
|
/external/llvm/utils/TableGen/ |
D | AsmMatcherEmitter.cpp | 148 struct ClassInfo { struct 172 std::vector<ClassInfo*> SuperClasses; argument 215 bool isRelatedTo(const ClassInfo &RHS) const { in isRelatedTo() argument 241 const ClassInfo *Root = this; in isRelatedTo() 245 const ClassInfo *RHSRoot = &RHS; in isRelatedTo() 253 bool isSubsetOf(const ClassInfo &RHS) const { in isSubsetOf() argument 259 for (const ClassInfo *CI : SuperClasses) in isSubsetOf() 272 bool operator<(const ClassInfo &RHS) const { in operator <() argument 312 ClassInfo *Class; 573 AsmOperands[i].Class->Kind == ClassInfo::Token) in couldMatchAmbiguouslyWith() [all …]
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
D | ClassInfo.java | 27 public final class ClassInfo implements ICoverageVisitor { class 38 public ClassInfo(final PrintStream out) { in ClassInfo() method in ClassInfo 81 new ClassInfo(System.out).execute(args); in main()
|
/external/guava/guava-gwt/test/com/google/common/ |
D | GwtTestSuite.java | 20 import com.google.common.reflect.ClassPath.ClassInfo; 36 for (ClassInfo info in suite()
|