Home
last modified time | relevance | path

Searched refs:clazz (Results 1 – 9 of 9) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DWidgetClassLoader.java110 public boolean equals(Object clazz) { in equals() argument
111 if (clazz instanceof ClassDescriptor) { in equals()
112 return mFqcn.equals(((ClassDescriptor)clazz).mFqcn); in equals()
114 return super.equals(clazz); in equals()
177 ClassDescriptor clazz = null; in parseWidgetList() local
181 clazz = processClass(classes, 0, null /* map */); in parseWidgetList()
182 if (clazz != null) { in parseWidgetList()
183 clazz.setInstantiable(true); in parseWidgetList()
184 mWidgetMap.put(classes[0], clazz); in parseWidgetList()
189 clazz = processClass(classes, 0, null /* map */); in parseWidgetList()
[all …]
DAndroidJarLoader.java47 public ClassWrapper(Class<?> clazz) { in ClassWrapper() argument
48 mClass = clazz; in ClassWrapper()
83 public boolean equals(Object clazz) { in equals() argument
84 if (clazz instanceof ClassWrapper) { in equals()
85 return mClass.equals(((ClassWrapper)clazz).mClass); in equals()
87 return super.equals(clazz); in equals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DProjectClassLoader.java73 Class<?> clazz = loadFromProject(mJavaProject, name); in findClass() local
75 if (clazz != null) { in findClass()
76 return clazz; in findClass()
80 clazz = loadClassFromJar(name); in findClass()
81 if (clazz != null) { in findClass()
82 return clazz; in findClass()
98 clazz = loadFromProject(javaProject, name); in findClass()
100 if (clazz != null) { in findClass()
101 return clazz; in findClass()
152 Class<?> clazz = defineClass(null, data, 0, read); in loadFromProject() local
[all …]
DCompiledResourcesMonitor.java217 Class<?> clazz = loader.loadClass(className); in loadAndParseRClass() local
219 if (clazz != null) { in loadAndParseRClass()
229 if (parseClass(clazz, genericValueToNameMap, styleableValueToNameMap, in loadAndParseRClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DProjectCallback.java164 Class<?> clazz = mLoadedClasses.get(className); in loadView() local
165 if (clazz != null) { in loadView()
166 return instantiateClass(clazz, constructorSignature, constructorParameters); in loadView()
182 clazz = mLoader.loadClass(className); in loadView()
192 if (clazz != null) { in loadView()
195 Object view = instantiateClass(clazz, constructorSignature, constructorParameters); in loadView()
196 mLoadedClasses.put(className, clazz); in loadView()
220 clazz = mLoader.loadClass(SdkConstants.CLASS_MOCK_VIEW); in loadView()
221 Object view = instantiateClass(clazz, constructorSignature, constructorParameters); in loadView()
362 private Object instantiateClass(Class<?> clazz, in instantiateClass() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DReplaceStringsVisitor.java262 ITypeBinding clazz = methodBinding.getDeclaringClass(); in examineMethodInvocation() local
263 nextMethod: for (IMethodBinding mb2 : clazz.getDeclaredMethods()) { in examineMethodInvocation()
324 TypeDeclaration clazz = findParentClass(node, TypeDeclaration.class); in isClassDerivedFromContext() local
325 if (clazz != null) { in isClassDerivedFromContext()
328 return isAndroidContext(clazz.getSuperclassType()); in isClassDerivedFromContext()
334 TypeDeclaration clazz = findParentClass(node, TypeDeclaration.class); in findContextFieldOrMethod() local
335 return clazz == null ? null : findContextFieldOrMethod(clazz.resolveBinding()); in findContextFieldOrMethod()
435 private <T extends ASTNode> T findParentClass(ASTNode node, Class<T> clazz) { in findParentClass() argument
438 if (node.getClass().equals(clazz)) { in findParentClass()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
DActivator.java57 public static <T> T getService(Class<T> clazz) { in getService() argument
59 ServiceReference ref = context.getServiceReference(clazz.getName()); in getService()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintFix.java193 Class<? extends LintFix> clazz = sFixes.get(id); in getFixes() local
194 if (clazz != null) { in getFixes()
196 Constructor<? extends LintFix> constructor = clazz.getDeclaredConstructor( in getFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java1975 for (String clazz : missingClasses) { in displayFailingClasses()
1977 addText(mErrorLabel, clazz); in displayFailingClasses()
1982 addTypoSuggestions(clazz, customViews, false); in displayFailingClasses()
1983 addTypoSuggestions(clazz, customViews, true); in displayFailingClasses()
1984 addTypoSuggestions(clazz, getAndroidViewClassNames(project), false); in displayFailingClasses()
1987 ActionLinkStyleRange.LINK_FIX_BUILD_PATH, "Fix Build Path", clazz); in displayFailingClasses()
1990 ActionLinkStyleRange.LINK_EDIT_XML, "Edit XML", clazz); in displayFailingClasses()
1991 if (clazz.indexOf('.') != -1) { in displayFailingClasses()
1995 ActionLinkStyleRange.LINK_CREATE_CLASS, "Create Class", clazz); in displayFailingClasses()
2006 for (String clazz : brokenClasses) { in displayFailingClasses()
[all …]