Home
last modified time | relevance | path

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

12345678

/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 …]
/external/r8/src/test/examplesAndroidO/paramnames/
DParameterNames.java37 check(MODIFIER_NONE, parameters[0].getModifiers()); in myMethod()
38 check(MODIFIER_FINAL, parameters[1].getModifiers()); in myMethod()
48 check(MODIFIER_NONE, parameters[0].getModifiers()); in myConstructor()
49 check(MODIFIER_FINAL, parameters[1].getModifiers()); in myConstructor()
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMember.java24 protected abstract int getModifiers(); in getModifiers() method in FrameworkMember
30 return Modifier.isStatic(getModifiers()); in isStatic()
37 return Modifier.isPublic(getModifiers()); in isPublic()
DFrameworkField.java44 protected int getModifiers() { in getModifiers() method in FrameworkField
45 return field.getModifiers(); in getModifiers()
/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()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionClassDef.java69 return cls.getModifiers(); in getAccessFlags()
73 if (Modifier.isInterface(cls.getModifiers())) { in getSuperclass()
111 return input!=null && Modifier.isStatic(input.getModifiers());
133 return input!=null && !Modifier.isStatic(input.getModifiers());
181 … return input != null && (input.getModifiers() & DIRECT_MODIFIERS) != 0;
203 … return input != null && (input.getModifiers() & DIRECT_MODIFIERS) == 0;
/external/junit/src/main/java/org/junit/internal/runners/
DMethodValidator.java74 if (Modifier.isStatic(each.getModifiers()) != isStatic) { in validateTestMethods()
79 if (!Modifier.isPublic(each.getDeclaringClass().getModifiers())) { in validateTestMethods()
83 if (!Modifier.isPublic(each.getModifiers())) { in validateTestMethods()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DUtil.java125 return !typeElement.getModifiers().contains(STATIC); in requiresEnclosingInstance()
151 if (typeElement.getModifiers().contains(ABSTRACT)) { in componentCanMakeNewInstances()
162 && !enclosed.getModifiers().contains(PRIVATE)) { in componentCanMakeNewInstances()
177 if (method.getModifiers().contains(Modifier.ABSTRACT)) { in getUnimplementedMethods()
/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/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DModifiedSystemClassRuntimeTest.java123 assertTrue(Modifier.isPublic(f.getModifiers())); in verifyInstrumentedClass()
124 assertTrue(Modifier.isStatic(f.getModifiers())); in verifyInstrumentedClass()
125 assertTrue(Modifier.isTransient(f.getModifiers())); in verifyInstrumentedClass()
/external/testng/src/main/java/org/testng/junit/
DJUnit3TestRecognizer.java33 if (Modifier.isPublic(m.getModifiers()) && Modifier.isStatic(m.getModifiers())) { in isTest()
/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/robolectric/v1/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/droiddriver/src/io/appium/droiddriver/helpers/
DD2ActivityInstrumentationTestCase2.java54 && !Modifier.isFinal(field.getModifiers()) && !Modifier.isStatic(field.getModifiers())) { in scrubClass()
/external/guice/core/src/com/google/inject/internal/util/
DClasses.java33 return !Modifier.isStatic(clazz.getModifiers()) in isInnerClass()
38 int modifiers = clazz.getModifiers(); in isConcrete()
/external/junit/src/main/java/org/junit/experimental/theories/
DTheories.java90 if (!Modifier.isStatic(field.getModifiers())) { in validateDataPointFields()
93 if (!Modifier.isPublic(field.getModifiers())) { in validateDataPointFields()
106 if (!Modifier.isStatic(method.getModifiers())) { in validateDataPointMethods()
109 if (!Modifier.isPublic(method.getModifiers())) { in validateDataPointMethods()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassByteBuddyMockMaker.java96 if (Modifier.isPrivate(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure()
147 return !type.isPrimitive() && !Modifier.isFinal(type.getModifiers()); in isTypeMockable()
158 if (Modifier.isFinal(type.getModifiers())) { in isTypeMockable()
DMockMethodAdvice.java129 … if (!Modifier.isPublic(origin.getDeclaringClass().getModifiers() & origin.getModifiers())) { in invoke()
163 … if (!Modifier.isPublic(method.getDeclaringClass().getModifiers() & method.getModifiers())) { in invoke()
/external/guice/core/src/com/google/inject/spi/
DInjectionPoint.java282 if (Modifier.isPrivate(noArgConstructor.getModifiers()) in forConstructorOf()
283 && !Modifier.isPrivate(rawType.getModifiers())) { in forConstructorOf()
487 return Modifier.isFinal(method.getModifiers()); in isFinal()
676 if (Modifier.isStatic(field.getModifiers()) == statics) { in getInjectionPoints()
680 if (injectableField.jsr330 && Modifier.isFinal(field.getModifiers())) { in getInjectionPoints()
778 return Modifier.isStatic(method.getModifiers()) == statics in isEligibleForInjection()
788 if (Modifier.isAbstract(method.getModifiers())) { in isValidMethod()
816 int modifiers = b.getModifiers(); in overrides()
/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/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DBindingsTest.java87 assertEquals(Modifier.FINAL, field.getModifiers() & Modifier.FINAL); in checkConstantField()
88 assertEquals(Modifier.STATIC, field.getModifiers() & Modifier.STATIC); in checkConstantField()
95 assertEquals(0, field.getModifiers() & Modifier.FINAL); in checkField()
96 assertEquals(0, field.getModifiers() & Modifier.STATIC); in checkField()
/external/guice/core/src/com/google/inject/internal/
DDefaultConstructionProxyFactory.java50 if (Modifier.isPublic(constructor.getModifiers())) { in create()
76 if (!Modifier.isPublic(classToConstruct.getModifiers())) { in create()

12345678