Home
last modified time | relevance | path

Searched refs:getModifiers (Results 1 – 25 of 127) sorted by relevance

123456

/external/guava/guava/src/com/google/common/reflect/
DElement.java84 @Override public final int getModifiers() { in getModifiers() method in Element
85 return member.getModifiers(); in getModifiers()
94 return Modifier.isPublic(getModifiers()); in isPublic()
99 return Modifier.isProtected(getModifiers()); in isProtected()
109 return Modifier.isPrivate(getModifiers()); in isPrivate()
114 return Modifier.isStatic(getModifiers()); in isStatic()
125 return Modifier.isFinal(getModifiers()); in isFinal()
130 return Modifier.isAbstract(getModifiers()); in isAbstract()
135 return Modifier.isNative(getModifiers()); in isNative()
140 return Modifier.isSynchronized(getModifiers()); in isSynchronized()
[all …]
DInvokable.java222 || Modifier.isFinal(getDeclaringClass().getModifiers())); in isOverridable()
326 return !Modifier.isStatic(enclosingMethod.getModifiers()); in mayNeedHiddenThis()
335 && !Modifier.isStatic(declaringClass.getModifiers()); in mayNeedHiddenThis()
/external/javassist/src/main/javassist/
DCtMember.java39 public int getModifiers() { return 0; } in getModifiers() method in CtMember.Cache
146 buffer.append(Modifier.toString(getModifiers())); in toString()
170 int mod = getModifiers(); in visibleFrom()
198 public abstract int getModifiers(); in getModifiers() method in CtMember
DSerialVersionUID.java88 int classMods = clazz.getModifiers(); in calculateDefault()
118 int mods = field.getModifiers(); in calculateDefault()
147 int mods = constructor.getModifiers(); in calculateDefault()
172 int mods = method.getModifiers() in calculateDefault()
DCtArray.java40 public int getModifiers() { in getModifiers() method in CtArray
43 mod |= getComponentType().getModifiers() in getModifiers()
DCtNewClass.java41 setModifiers(Modifier.setPublic(getModifiers())); in CtNewClass()
93 int mod = c.getModifiers(); in inheritAllConstructors()
DCtClassType.java108 buffer.append(Modifier.toString(getModifiers())); in extendToString()
375 return Modifier.isInterface(getModifiers()); in isInterface()
379 return Modifier.isAnnotation(getModifiers()); in isAnnotation()
383 return Modifier.isEnum(getModifiers()); in isEnum()
386 public int getModifiers() { in getModifiers() method in CtClassType
888 if (!Modifier.isPrivate(field.getModifiers())) in getFields()
1023 return !Modifier.isPrivate(cons.getModifiers()) in isPubCons()
1116 if (!Modifier.isPrivate(mth.getModifiers())) in getMethods0()
1237 int mod = f.getModifiers(); in addField()
1321 int mod = m.getModifiers(); in addMethod()
[all …]
DCtBehavior.java130 public int getModifiers() { in getModifiers() method in CtBehavior
575 addParameter2(Modifier.isStatic(getModifiers()) ? 0 : 1, type, desc); in insertParameter()
593 int offset = Modifier.isStatic(getModifiers()) ? 0 : 1; in addParameter()
701 Modifier.isStatic(getModifiers())); in insertBefore()
775 Modifier.isStatic(getModifiers())); in insertAfter()
1016 Modifier.isStatic(getModifiers())); in addCatch()
1123 Modifier.isStatic(getModifiers())); in insertAt()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionClassDef.java67 return cls.getModifiers(); in getAccessFlags()
71 if (Modifier.isInterface(cls.getModifiers())) { in getSuperclass()
115 return input!=null && Modifier.isStatic(input.getModifiers());
137 return input!=null && !Modifier.isStatic(input.getModifiers());
185 … return input != null && (input.getModifiers() & DIRECT_MODIFIERS) != 0;
207 … return input != null && (input.getModifiers() & DIRECT_MODIFIERS) == 0;
/external/junit/src/org/junit/internal/runners/
DMethodValidator.java72 if (Modifier.isStatic(each.getModifiers()) != isStatic) { in validateTestMethods()
77 if (!Modifier.isPublic(each.getDeclaringClass().getModifiers())) in validateTestMethods()
80 if (!Modifier.isPublic(each.getModifiers())) in validateTestMethods()
/external/jdiff/src/jdiff/
DAPIHandler.java92 XMLToAPI.addClass(className, parentName, isAbstract, getModifiers(attributes)); in startElement()
100 XMLToAPI.addInterface(className, parentName, isAbstract, getModifiers(attributes)); in startElement()
108 XMLToAPI.addCtor(ctorName, ctorType, getModifiers(attributes)); in startElement()
123 isSynchronized, getModifiers(attributes)); in startElement()
136 value, getModifiers(attributes)); in startElement()
313 public Modifiers getModifiers(Attributes attributes) { in getModifiers() method in APIHandler
/external/javassist/sample/evolve/
DEvolution.java125 if (Modifier.isPublic(f.getModifiers())) in makeAbstractClass()
133 int mod = c.getModifiers(); in makeAbstractClass()
146 int mod = m.getModifiers(); in makeAbstractClass()
177 if (Modifier.isPublic(f.getModifiers())) in makeConcreteClass()
/external/junit/src/org/junit/runners/model/
DFrameworkMethod.java82 if (Modifier.isStatic(fMethod.getModifiers()) != isStatic) {
86 if (!Modifier.isPublic(fMethod.getDeclaringClass().getModifiers()))
88 if (!Modifier.isPublic(fMethod.getModifiers()))
DFrameworkField.java30 int modifiers= fField.getModifiers(); in isPublic()
40 int modifiers= fField.getModifiers(); in isStatic()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastMember.java47 public int getModifiers() { in getModifiers() method in FastMember
48 return member.getModifiers(); in getModifiers()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DD2ActivityInstrumentationTestCase2.java54 && !Modifier.isFinal(field.getModifiers()) && !Modifier.isStatic(field.getModifiers())) { in scrubClass()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DRobolectricWiringTest.java67 if (!Modifier.isPublic(shadowMethod.getModifiers())) { in verifyMethod()
115 …return Modifier.isStatic(implementedMethod.getModifiers()) != Modifier.isStatic(shadowMethod.getMo… in staticMismatch()
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMockGenerator.java116 } else if (Modifier.isFinal(clazz.getModifiers())) { in reportReasonForUnsupportedType()
136 if (Modifier.isPublic(constructor.getModifiers()) || in containsUsableConstructor()
137 Modifier.isProtected(constructor.getModifiers())) { in containsUsableConstructor()
147 && !Modifier.isFinal(clazz.getModifiers()); in classIsSupportedType()
180 int modifiers = method.getModifiers(); in getMethodSignature()
265 int modifiers = constructor.getModifiers(); in addConstructors()
395 int modifiers = method.getModifiers(); in isMockable()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp64 StringRef getModifiers() const { return Modifiers; } in getModifiers() function in MarkupTag
94 if (Tag.getModifiers().size()) in processStartTag()
95 outs() << " " << Tag.getModifiers(); in processStartTag()
/external/javassist/src/main/javassist/compiler/
DJavac.java134 f.setModifiers(MemberResolver.getModifiers(fd.getModifiers())); in compileField()
144 int mod = MemberResolver.getModifiers(md.getModifiers()); in compileMethod()
194 int mod = method.getModifiers(); in compileBody()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java747 if (Modifier.isFinal(superClass.getModifiers())) in checkClassAndSuperName()
790 int mod = m.getModifiers(); in computeSignature()
911 int mod = meth.getModifiers(); in overrideMethods()
928 if (Modifier.isAbstract(meth.getModifiers())) in override()
952 int mod = c.getModifiers(); in makeConstructors()
1033 if (!Modifier.isPrivate(methods[i].getModifiers())) { in getMethods()
1041 if (null != oldMethod && Modifier.isPublic(oldMethod.getModifiers()) in getMethods()
1042 && !Modifier.isPublic(methods[i].getModifiers()) ) { in getMethods()
1099 | (meth.getModifiers() & ~(Modifier.PRIVATE in makeDelegator()
1123 | (meth.getModifiers() & ~(Modifier.ABSTRACT in makeForwarder()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DReflectUtils.java390 if (!Modifier.isPublic(classes[i].getModifiers())) { in findPackageProtected()
406 public int getModifiers() { in getMethodInfo() method
422 return getMethodInfo(member, member.getModifiers()); in getMethodInfo()
438 public int getModifiers() { in getClassInfo() method
439 return clazz.getModifiers(); in getClassInfo()
DRejectModifierPredicate.java28 return (((Member)arg).getModifiers() & rejectMask) == 0; in evaluate()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DFieldSerializer.java77 int modifiers = field.getModifiers(); in initialize()
87 if (Modifier.isFinal(field.getType().getModifiers())) { in initialize()
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java333 if (Modifier.isAbstract(type.getModifiers()) || !Modifier.isPublic(type.getModifiers())) { in get()
359 if (Modifier.isPublic(field.getModifiers()) in arbitraryConstantInstanceOrNull()
360 && Modifier.isStatic(field.getModifiers()) in arbitraryConstantInstanceOrNull()
361 && Modifier.isFinal(field.getModifiers())) { in arbitraryConstantInstanceOrNull()

123456