Home
last modified time | relevance | path

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

123456789

/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/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 …]
/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/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/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/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/opencv3/modules/viz/src/vtk/
DvtkVizInteractorStyle.cpp370 int cv::viz::vtkVizInteractorStyle::getModifiers() in getModifiers() function in cv::viz::vtkVizInteractorStyle
471 … event(KeyboardEvent::KEY_DOWN, Interactor->GetKeySym(), Interactor->GetKeyCode(), getModifiers()); in OnKeyDown()
503 …nt event(KeyboardEvent::KEY_UP, Interactor->GetKeySym(), Interactor->GetKeyCode(), getModifiers()); in OnKeyUp()
526 MouseEvent event(MouseEvent::MouseMove, MouseEvent::NoButton, p, getModifiers()); in OnMouseMove()
572 MouseEvent event(type, MouseEvent::LeftButton, p, getModifiers()); in OnLeftButtonDown()
616 MouseEvent event(MouseEvent::MouseButtonRelease, MouseEvent::LeftButton, p, getModifiers()); in OnLeftButtonUp()
638 MouseEvent event(type, MouseEvent::MiddleButton, p, getModifiers()); in OnMiddleButtonDown()
654 MouseEvent event(MouseEvent::MouseButtonRelease, MouseEvent::MiddleButton, p, getModifiers()); in OnMiddleButtonUp()
671 MouseEvent event(type, MouseEvent::RightButton, p, getModifiers()); in OnRightButtonDown()
702 MouseEvent event(MouseEvent::MouseButtonRelease, MouseEvent::RightButton, p, getModifiers()); in OnRightButtonUp()
[all …]
/external/testng/src/main/java/org/testng/junit/
DJUnit3TestRecognizer.java33 if (Modifier.isPublic(m.getModifiers()) && Modifier.isStatic(m.getModifiers())) { in isTest()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DModifiedSystemClassRuntimeTest.java164 assertTrue(Modifier.isPublic(f.getModifiers())); in verifyInstrumentedClass()
165 assertTrue(Modifier.isStatic(f.getModifiers())); in verifyInstrumentedClass()
166 assertTrue(Modifier.isTransient(f.getModifiers())); in verifyInstrumentedClass()
/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/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/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/guice/core/src/com/google/inject/internal/
DDefaultConstructionProxyFactory.java50 if (Modifier.isPublic(constructor.getModifiers())) { in create()
76 if (!Modifier.isPublic(classToConstruct.getModifiers())) { in create()
DSingleMethodInjector.java46 int modifiers = method.getModifiers(); in createMethodInvoker()
65 !Modifier.isPublic(method.getDeclaringClass().getModifiers())) { in createMethodInvoker()
/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()

123456789