Home
last modified time | relevance | path

Searched refs:superclass (Results 1 – 25 of 263) sorted by relevance

1234567891011

/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
DBeanGenerator.java35 public Object newInstance(String superclass, Map props); in newInstance() argument
38 private Class superclass; field in BeanGenerator
52 public void setSuperclass(Class superclass) { in setSuperclass() argument
53 if (superclass != null && superclass.equals(Object.class)) { in setSuperclass()
54 superclass = null; in setSuperclass()
56 this.superclass = superclass; in setSuperclass()
67 if (superclass != null) { in getDefaultClassLoader()
68 return superclass.getClassLoader(); in getDefaultClassLoader()
85 if (superclass != null) { in createHelper()
86 setNamePrefix(superclass.getName()); in createHelper()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DClassDefItem.java56 private final CstType superclass; field in ClassDefItem
89 CstType superclass, TypeList interfaces, CstString sourceFile) { in ClassDefItem() argument
105 this.superclass = superclass; in ClassDefItem()
148 if (superclass != null) { in addContents()
149 typeIds.intern(superclass); in addContents()
175 int superIdx = (superclass == null) ? -1 : in writeTo()
176 typeIds.indexOf(superclass); in writeTo()
192 " // " + ((superclass == null) ? "<none>" : in writeTo()
193 superclass.toHuman())); in writeTo()
246 return superclass; in getSuperclass()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableClassDef.java55 @Nullable protected final String superclass; field in ImmutableClassDef
66 @Nullable String superclass, in ImmutableClassDef() argument
81 this.superclass = superclass; in ImmutableClassDef()
93 @Nullable String superclass, in ImmutableClassDef() argument
103 this.superclass = superclass; in ImmutableClassDef()
115 @Nullable String superclass, in ImmutableClassDef() argument
125 this.superclass = superclass; in ImmutableClassDef()
154 @Nullable @Override public String getSuperclass() { return superclass; } in getSuperclass()
/external/guava/guava/src/com/google/common/reflect/
DTypeCapture.java33 Type superclass = getClass().getGenericSuperclass(); in capture() local
34 checkArgument(superclass instanceof ParameterizedType, in capture()
35 "%s isn't parameterized", superclass); in capture()
36 return ((ParameterizedType) superclass).getActualTypeArguments()[0]; in capture()
DTypeToken.java295 Type superclass = getRawType().getGenericSuperclass(); in getGenericSuperclass() local
296 if (superclass == null) { in getGenericSuperclass()
300 TypeToken<? super T> superToken = (TypeToken<? super T>) resolveSupertype(superclass); in getGenericSuperclass()
310 TypeToken<? super T> superclass = (TypeToken<? super T>) token; in boundAsSuperclass() local
311 return superclass; in boundAsSuperclass()
375 public final TypeToken<? super T> getSupertype(Class<? super T> superclass) { in getSupertype() argument
376 checkArgument(superclass.isAssignableFrom(getRawType()), in getSupertype()
377 "%s is not a super class of %s", superclass, this); in getSupertype() local
379 return getSupertypeFromUpperBounds(superclass, ((TypeVariable<?>) runtimeType).getBounds()); in getSupertype()
382 return getSupertypeFromUpperBounds(superclass, ((WildcardType) runtimeType).getUpperBounds()); in getSupertype()
[all …]
/external/guice/core/src/com/google/inject/matcher/
DMatchers.java184 public static Matcher<Class> subclassesOf(final Class<?> superclass) { in subclassesOf() argument
185 return new SubclassesOf(superclass); in subclassesOf()
190 private final Class<?> superclass; field in Matchers.SubclassesOf
192 public SubclassesOf(Class<?> superclass) { in SubclassesOf() argument
193 this.superclass = checkNotNull(superclass, "superclass"); in SubclassesOf()
197 return superclass.isAssignableFrom(subclass); in matches()
202 && ((SubclassesOf) other).superclass.equals(superclass); in equals()
206 return 37 * superclass.hashCode(); in hashCode()
210 return "subclassesOf(" + superclass.getSimpleName() + ".class)"; in toString()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DEnhancer.java137 private Class superclass; field in Enhancer
164 public void setSuperclass(Class superclass) { in setSuperclass() argument
165 if (superclass != null && superclass.isInterface()) { in setSuperclass()
166 setInterfaces(new Class[]{ superclass }); in setSuperclass()
167 } else if (superclass != null && superclass.equals(Object.class)) { in setSuperclass()
169 this.superclass = null; in setSuperclass()
171 this.superclass = superclass; in setSuperclass()
371 if (superclass != null) { in createHelper()
372 setNamePrefix(superclass.getName()); in createHelper()
376 … return super.create(KEY_FACTORY.newInstance((superclass != null) ? superclass.getName() : null, in createHelper()
[all …]
/external/javassist/src/main/javassist/
DCtNewClass.java28 boolean isInterface, CtClass superclass) { in CtNewClass() argument
32 if (isInterface || superclass == null) in CtNewClass()
35 superName = superclass.getName(); in CtNewClass()
38 if (isInterface && superclass != null) in CtNewClass()
39 classfile.setInterfaces(new String[] { superclass.getName() }); in CtNewClass()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DClassWriter.java37 private Optional<TypeName> superclass; field in ClassWriter
43 this.superclass = Optional.absent(); in ClassWriter()
49 checkState(!superclass.isPresent()); in setSuperclass()
50 superclass = Optional.of(typeReference); in setSuperclass()
100 if (superclass.isPresent()) { in write()
102 superclass.get().write(appendable, context); in write()
147 .append(superclass.asSet()) in referencedClasses()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderClassDef.java50 @Nullable final BuilderTypeReference superclass; field in BuilderClassDef
65 @Nullable BuilderTypeReference superclass, in BuilderClassDef() argument
80 this.superclass = superclass; in BuilderClassDef()
96 …@Nullable @Override public String getSuperclass() { return superclass==null?null:superclass.getTyp… in getSuperclass()
/external/nanopb-c/generator/google/protobuf/
Dreflection.py123 superclass = super(GeneratedProtocolMessageType, cls)
125 new_class = superclass.__new__(cls, name, bases, dictionary)
148 superclass = super(GeneratedProtocolMessageType, cls)
149 superclass.__init__(name, bases, dictionary)
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DTreeParser.js6 org.antlr.runtime.tree.TreeParser.superclass.constructor.call(this, arguments[1]);
20 TP.superclass.reset.call(this); // reset all recognizer state variables
112 return TP.superclass.getErrorMessage.call(this, e, tokenNames);
116 TP.superclass.traceIn.call(this, ruleName, ruleIndex, this.input.LT(1));
120 TP.superclass.traceOut.call(this, ruleName, ruleIndex, this.input.LT(1));
/external/doclava/src/com/google/doclava/apicheck/
DApiInfo.java141 protected void mapClassToSuper(ClassInfo classInfo, String superclass) { in mapClassToSuper() argument
142 mClassToSuper.put(classInfo, superclass); in mapClassToSuper()
171 ClassInfo superclass = mAllClasses.get(scName); in resolveSuperclasses() local
172 if (superclass == null) { in resolveSuperclasses()
174 superclass = new ClassInfo(scName); in resolveSuperclasses()
176 cl.setSuperClass(superclass); in resolveSuperclasses()
/external/protobuf/python/google/protobuf/
Dreflection.py127 superclass = super(GeneratedProtocolMessageType, cls)
129 new_class = superclass.__new__(cls, name, bases, dictionary)
152 superclass = super(GeneratedProtocolMessageType, cls)
153 superclass.__init__(name, bases, dictionary)
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DParser.js5 org.antlr.runtime.Parser.superclass.constructor.call(this, state);
12 org.antlr.runtime.Parser.superclass.reset.call(this);
63 org.antlr.runtime.Parser.superclass.traceIn.call(
68 org.antlr.runtime.Parser.superclass.traceOut.call(
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassProto.java169 String superclass = getSuperclass();
170 if (superclass != null) {
171 … ClassProto superclassProto = (ClassProto) classPath.getClass(superclass);
420 ClassProto superclass = null;
422 superclass = (ClassProto) classPath.getClass(superclassType);
423 if (superclass != null) {
424 startFieldOffset = superclass.getNextFieldOffset();
475 if (superclass != null) {
476 superFields = superclass.getInstanceFields();
488 if (superclass != null && superFieldCount > 0) {
[all …]
/external/doclava/src/com/google/doclava/
DClassInfo.java145 ClassInfo containingClass, ClassInfo superclass, in init() argument
166 mRealSuperclass = superclass; in init()
424 ClassInfo superclass = mRealSuperclass; in superClassesWithTypes() local
427 while (superclass != null && supertype != null) { in superClassesWithTypes()
429 lastCtp = new ClassTypePair(superclass, supertype.getTypeWithArguments(typeArgumentsMap)); in superClassesWithTypes()
432 supertype = superclass.mRealSuperclassType; in superClassesWithTypes()
433 superclass = superclass.mRealSuperclass; in superClassesWithTypes()
453 ClassInfo superclass = mRealSuperclass; in interfaces() local
454 while (superclass != null && !superclass.checkLevel()) { in interfaces()
455 gatherHiddenInterfaces(superclass, interfaces); in interfaces()
[all …]
/external/clang/test/ASTMerge/
Dinterface.m8 // CHECK: interface1.m:21:17: note: inherits from superclass 'I2' here
9 // CHECK: interface2.m:21:17: note: inherits from superclass 'I1' here
19 // CHECK: interface1.m:100:17: note: inherits from superclass 'I12' here
20 // CHECK: interface2.m:99:17: note: inherits from superclass 'I11' here
/external/javassist/src/main/javassist/bytecode/
DClassFile.java121 public ClassFile(boolean isInterface, String classname, String superclass) { in ClassFile() argument
131 initSuperclass(superclass); in ClassFile()
142 private void initSuperclass(String superclass) { in initSuperclass() argument
143 if (superclass != null) { in initSuperclass()
144 this.superClass = constPool.addClassInfo(superclass); in initSuperclass()
145 cachedSuperclass = superclass; in initSuperclass()
364 public void setSuperclass(String superclass) throws CannotCompileException { in setSuperclass() argument
365 if (superclass == null) in setSuperclass()
366 superclass = "java.lang.Object"; in setSuperclass()
369 this.superClass = constPool.addClassInfo(superclass); in setSuperclass()
[all …]
/external/clang/test/SemaObjC/
Dproperty-and-class-extension.m5 and treat ivars in a superclass extension the same as ivars in the superclass @interface.
7 extension but ignore any ivars in superclass class extensions.
Dundef-superclass-1.m5 …F :SUPER // expected-error {{attempting to use the forward class 'SUPER' as superclass of 'INTF'}}
16 @interface INTF3 : Y // expected-error {{attempting to use the forward class 'Y' as superclass of '…
29 …lass // expected-error {{trying to recursively use 'RecursiveClass' as superclass of 'RecursiveCla…
/external/fonttools/Lib/fontTools/ttLib/tables/
D_p_r_e_p.py3 superclass = ttLib.getTableClass("fpgm") variable
5 class table__p_r_e_p(superclass):
DT_S_I__2.py3 superclass = ttLib.getTableClass("TSI0") variable
5 class table_T_S_I__2(superclass):
DT_S_I__3.py3 superclass = ttLib.getTableClass("TSI1") variable
5 class table_T_S_I__3(superclass):
D_v_m_t_x.py3 superclass = ttLib.getTableClass("hmtx") variable
5 class table__v_m_t_x(superclass):

1234567891011