Home
last modified time | relevance | path

Searched refs:ClassInfo (Results 1 – 25 of 82) sorted by relevance

1234

/external/doclava/src/com/google/doclava/
DPackageInfo.java64 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()
119 ClassInfo[][] types = new ClassInfo[][] { annotations(), interfaces(), ordinaryClasses(), in isRemoved()
[all …]
DClassInfo.java41 public class ClassInfo extends DocInfo implements ContainerInfo, Comparable, Scoped, Resolvable { class
49 private final ClassInfo mClassInfo;
52 public ClassTypePair(ClassInfo cl, TypeInfo t) { in ClassTypePair()
57 public ClassInfo classInfo() { in classInfo()
70 public static final Comparator<ClassInfo> comparator = new Comparator<ClassInfo>() {
71 public int compare(ClassInfo a, ClassInfo b) {
76 public static final Comparator<ClassInfo> qualifiedComparator = new Comparator<ClassInfo>() {
77 public int compare(ClassInfo a, ClassInfo b) {
85 public ClassInfo(String qualifiedName) { in ClassInfo() method in ClassInfo
95 public ClassInfo(ClassDoc cl, String rawCommentText, SourcePositionInfo position, in ClassInfo() method in ClassInfo
[all …]
DFederationTagger.java74 public void tag(ClassInfo classDoc) { in tag()
81 public void tagAll(Collection<ClassInfo> classDocs) { in tagAll()
129 private void applyFederation(FederatedSite federationSource, Collection<ClassInfo> classDocs) { in applyFederation()
130 for (ClassInfo classDoc : classDocs) { in applyFederation()
138 ClassInfo classSpec = packageSpec.allClasses().get(classDoc.name()); in applyFederation()
152 private void federateMethods(FederatedSite site, ClassInfo federatedClass, ClassInfo localClass) { in federateMethods()
154 for (ClassInfo superclass : federatedClass.hierarchy()) { in federateMethods()
163 private void federateConstructors(FederatedSite site, ClassInfo federatedClass, in federateConstructors()
164 ClassInfo localClass) { in federateConstructors()
172 private void federateFields(FederatedSite site, ClassInfo federatedClass, ClassInfo localClass) { in federateFields()
[all …]
DSinceTagger.java57 public void tagAll(Collection<ClassInfo> classDocs) { in tagAll()
108 Collection<ClassInfo> classDocs) { in applyVersionsFromSpec()
109 for (ClassInfo classDoc : classDocs) { in applyVersionsFromSpec()
117 ClassInfo classSpec = packageSpec.allClasses().get(classDoc.name()); in applyVersionsFromSpec()
143 private void versionClass(String versionName, ClassInfo spec, ClassInfo doc) { in versionClass()
159 private void versionConstructors(String versionName, ClassInfo spec, ClassInfo doc) { in versionConstructors()
182 private void versionFields(String versionName, ClassInfo spec, ClassInfo doc) { in versionFields()
205 private void versionMethods(String versionName, ClassInfo spec, ClassInfo doc) { in versionMethods()
223 for (ClassInfo superclass : spec.hierarchy()) { in versionMethods()
237 private void warnForMissingVersions(Collection<ClassInfo> classDocs) { in warnForMissingVersions()
[all …]
DMethodInfo.java58 private static void addInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addInterfaces()
59 for (ClassInfo i : ifaces) { in addInterfaces()
62 for (ClassInfo i : ifaces) { in addInterfaces()
78 ArrayList<ClassInfo> queue = new ArrayList<ClassInfo>(); in findOverriddenMethod()
80 for (ClassInfo iface : queue) { in findOverriddenMethod()
91 private static void addRealInterfaces(ArrayList<ClassInfo> ifaces, ArrayList<ClassInfo> queue) { in addRealInterfaces()
92 for (ClassInfo i : ifaces) { in addRealInterfaces()
98 for (ClassInfo i : ifaces) { in addRealInterfaces()
112 ArrayList<ClassInfo> queue = new ArrayList<ClassInfo>(); in findRealOverriddenMethod()
118 for (ClassInfo iface : queue) { in findRealOverriddenMethod()
[all …]
DStubs.java55 final HashSet<ClassInfo> notStrippable = new HashSet<ClassInfo>(); in writeStubsAndApi()
56 Collection<ClassInfo> all = Converter.allClasses(); in writeStubsAndApi()
57 Map<PackageInfo, List<ClassInfo>> allClassesByPackage = null; in writeStubsAndApi()
166 for (ClassInfo cl : all) { in writeStubsAndApi()
174 for (ClassInfo cl : notStrippable) { in writeStubsAndApi()
187 ClassInfo hiddenClass = findHiddenClasses(m.returnType(), stubImportPackages); in writeStubsAndApi()
229 ClassInfo returnClass = m.returnType().asClassInfo(); in writeStubsAndApi()
253 HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubsAndApi()
255 for (ClassInfo cl : notStrippable) { in writeStubsAndApi()
270 ArrayList<ClassInfo> classes = new ArrayList<ClassInfo>(); in writeStubsAndApi()
[all …]
DDoclava.java994 Collection<ClassInfo> classes = Converter.rootClasses(); in makePackageHDF()
997 for (ClassInfo cl : classes) { in makePackageHDF()
1018 ClassInfo[] classesToCheck = null; in makePackageHDF()
1043 for (ClassInfo cl : classesToCheck) { in makePackageHDF()
1180 Collection<ClassInfo> classes = Converter.rootClasses(); in writeLists()
1183 for (ClassInfo cl : classes) { in writeLists()
1215 } else if (o instanceof ClassInfo) { in writeLists()
1216 ClassInfo cl = (ClassInfo) o; in writeLists()
1334 public static void cantStripThis(ClassInfo cl, HashSet<ClassInfo> notStrippable) { in cantStripThis()
1340 ClassInfo supr = cl.superclass(); in cantStripThis()
[all …]
DArtifactTagger.java66 public void tagAll(Collection<ClassInfo> classDocs) { in tagAll()
119 Collection<ClassInfo> classDocs) { in applyArtifactsFromSpec()
120 for (ClassInfo classDoc : classDocs) { in applyArtifactsFromSpec()
123 ClassInfo classSpec = packageSpec.allClasses().get(classDoc.name()); in applyArtifactsFromSpec()
144 private void warnForMissingArtifacts(Collection<ClassInfo> classDocs) { in warnForMissingArtifacts()
145 for (ClassInfo claz : classDocs) { in warnForMissingArtifacts()
157 private boolean checkLevelRecursive(ClassInfo claz) { in checkLevelRecursive()
158 for (ClassInfo c = claz; c != null; c = c.containingClass()) { in checkLevelRecursive()
DInfoBuilder.java47 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 …]
DConverter.java62 ArrayList<ClassInfo> classesNeedingInit2 = new ArrayList<ClassInfo>(); in makeInfo()
75 for (ClassInfo cl : classesNeedingInit2) { in makeInfo()
113 private static ClassInfo[] mRootClasses;
115 public static Collection<ClassInfo> rootClasses() { in rootClasses()
119 public static Collection<ClassInfo> allClasses() { in allClasses()
120 return (Collection<ClassInfo>) mClasses.all(); in allClasses()
125 private static void initClass(ClassDoc c, ClassInfo cl) { in initClass()
133 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.interfaces()))), in initClass()
135 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.innerClasses()))), in initClass()
167 new ArrayList<ClassInfo>(Arrays.asList( in initClass()
[all …]
DMemberInfo.java23 ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, in MemberInfo()
84 public ClassInfo realContainingClass() { in realContainingClass()
88 public ClassInfo containingClass() { in containingClass()
181 ClassInfo mContainingClass;
182 ClassInfo mRealContainingClass;
DThrowsTagInfo.java33 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()
DHierarchy.java26 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()
DNavTree.java102 Collection<ClassInfo> classes = Converter.rootClasses(); in writeYamlTree()
105 for (ClassInfo cl : classes) { in writeYamlTree()
149 } else if (o instanceof ClassInfo) { in makeYamlHDF()
150 ClassInfo cl = (ClassInfo) o; in makeYamlHDF()
166 public static Data makeYamlHDF(ClassInfo cl, String base, Data data) { in makeYamlHDF()
174 for (ClassInfo cl2 : cl.innerClasses()) { in makeYamlHDF()
199 private static void addClassNodes(List<Node> parent, String label, ClassInfo[] classes) { in addClassNodes()
202 for (ClassInfo cl : classes) { in addClassNodes()
/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java19 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 …]
DXmlApiFile.java20 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()
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java62 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/swiftshader/third_party/LLVM/utils/TableGen/
DAsmMatcherEmitter.cpp126 struct ClassInfo { struct
150 std::vector<ClassInfo*> SuperClasses; argument
191 bool isRelatedTo(const ClassInfo &RHS) const { in isRelatedTo() argument
217 const ClassInfo *Root = this; in isRelatedTo()
221 const ClassInfo *RHSRoot = &RHS; in isRelatedTo()
229 bool isSubsetOf(const ClassInfo &RHS) const { in isSubsetOf() argument
235 for (std::vector<ClassInfo*>::const_iterator it = SuperClasses.begin(), in isSubsetOf()
244 bool operator<(const ClassInfo &RHS) const { in operator <() argument
282 ClassInfo *Class;
491 AsmOperands[i].Class->Kind == ClassInfo::Token) in CouldMatchAmbiguouslyWith()
[all …]
/external/swiftshader/third_party/LLVM/test/Bitcode/
Dmetadata-2.ll2 …%0 = type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %1, %"ClassInfo[]", i32, void ()*, void ()…
5 %"ClassInfo[]" = type { i64, %object.ClassInfo** }
11 …%object.ClassInfo = type { %object.ClassInfo.__vtbl*, i8*, %"byte[]", %"byte[]", %"void*[]", %"Int…
12ClassInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Object*)*…
13 %object.Interface = type { %object.ClassInfo*, %"void*[]", i64 }
14 …= type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %"ModuleInfo[]", %"ClassInfo[]", i32, void ()…
15 …%object.ModuleInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.…
19 …%object.TypeInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Ob…
23 …getelementptr ([20 x i8]* @.str, i32 0, i32 0) }, %1 zeroinitializer, %"ClassInfo[]" zeroinitializ…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dmetadata-2.ll3 …%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…
13ClassInfo.__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/llvm/test/Bitcode/
Dmetadata-2.ll3 …%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…
13ClassInfo.__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/
DClassPathTest.java27 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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp154 struct ClassInfo { struct
178 std::vector<ClassInfo*> SuperClasses; argument
232 bool isRelatedTo(const ClassInfo &RHS) const { in isRelatedTo() argument
258 const ClassInfo *Root = this; in isRelatedTo()
262 const ClassInfo *RHSRoot = &RHS; in isRelatedTo()
270 bool isSubsetOf(const ClassInfo &RHS) const { in isSubsetOf() argument
276 SmallVector<const ClassInfo *, 16> Worklist(SuperClasses.begin(), in isSubsetOf()
278 SmallPtrSet<const ClassInfo *, 16> Visited; in isSubsetOf()
293 const ClassInfo *Root = this; in getTreeDepth()
301 const ClassInfo *findRoot() const { in findRoot() argument
[all …]
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp148 struct ClassInfo { struct
172 std::vector<ClassInfo*> SuperClasses; argument
223 bool isRelatedTo(const ClassInfo &RHS) const { in isRelatedTo() argument
249 const ClassInfo *Root = this; in isRelatedTo()
253 const ClassInfo *RHSRoot = &RHS; in isRelatedTo()
261 bool isSubsetOf(const ClassInfo &RHS) const { in isSubsetOf() argument
267 for (const ClassInfo *CI : SuperClasses) in isSubsetOf()
276 const ClassInfo *Root = this; in getTreeDepth()
284 const ClassInfo *findRoot() const { in findRoot() argument
285 const ClassInfo *Root = this; in findRoot()
[all …]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java117 private static final ClassInfo NULL_CLASS_INFO = new ClassInfo();
122 private final Map<String, ClassInfo> classInfos = new HashMap<>();
143 ClassInfo classInfo = getClassInfo(className); in verifyMethod()
216 private synchronized ClassInfo getClassInfo(String name) { in getClassInfo()
217 ClassInfo classInfo = classInfos.get(name); in getClassInfo()
224 classInfo = new ClassInfo(classNode); in getClassInfo()
312 static class ClassInfo { class in SdkStore
316 private ClassInfo() { in ClassInfo() method in SdkStore.ClassInfo
319 public ClassInfo(ClassNode classNode) { in ClassInfo() method in SdkStore.ClassInfo

1234