/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ConstructorTest.java | 22 import java.lang.reflect.Modifier; 106 ((mod & Modifier.PUBLIC) == Modifier.PUBLIC) 107 && ((mod & Modifier.PRIVATE) == 0)); 117 ((mod & Modifier.PRIVATE) == Modifier.PRIVATE) 118 && ((mod & Modifier.PUBLIC) == 0)); 128 ((mod & Modifier.PROTECTED) == Modifier.PROTECTED) 129 && ((mod & Modifier.PUBLIC) == 0)) [all...] |
/external/javassist/src/main/javassist/tools/rmi/ |
StubGenerator.java | 131 if (Modifier.isAbstract(modify) || Modifier.isNative(modify) 132 || !Modifier.isPublic(modify)) 144 f.setModifiers(Modifier.PRIVATE); 148 f.setModifiers(Modifier.PRIVATE); 205 && !Modifier.isFinal(mod)) 206 if (Modifier.isPublic(mod)) { 208 if (Modifier.isStatic(mod)) 224 else if (!Modifier.isProtected(mod) 225 && !Modifier.isPrivate(mod) [all...] |
/external/llvm/utils/TableGen/ |
AsmWriterInst.cpp | 155 // Modifier - Support ${foo:modifier} syntax, where "modifier" is passed 158 std::string Modifier; 168 // Look for a modifier string. 178 Modifier = std::string(AsmString.begin()+ModifierStart, 180 if (Modifier.empty()) 181 throw "Bad operand modifier name in '"+ CGI.TheDef->getName() + "'"; 189 if (VarName.empty() && Modifier.empty()) 194 // Just a modifier, pass this into PrintSpecial [all...] |
AsmWriterInst.h | 52 /// MiModifier - For isMachineInstrOperand, this is the modifier string for 53 /// an operand, specified with syntax like ${opname:modifier}. 66 const std::string &Modifier, 69 MiModifier(Modifier) {}
|
/cts/tools/signature-tools/src/signature/model/ |
IClassDefinition.java | 93 Set<Modifier> getModifiers();
|
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
HelloWorldMaker.java | 28 import java.lang.reflect.Modifier; 36 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT); 70 Code code = dexMaker.declare(hello, Modifier.STATIC | Modifier.PUBLIC);
|
FibonacciMaker.java | 29 import java.lang.reflect.Modifier; 37 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); 40 Code code = dexMaker.declare(fib, Modifier.PUBLIC | Modifier.STATIC);
|
/external/junit/src/org/junit/runners/model/ |
FrameworkMethod.java | 6 import java.lang.reflect.Modifier; 82 if (Modifier.isStatic(fMethod.getModifiers()) != isStatic) { 86 if (!Modifier.isPublic(fMethod.getDeclaringClass().getModifiers())) 88 if (!Modifier.isPublic(fMethod.getModifiers()))
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 115 struct Modifier { 121 Modifier(BasicBlock *Block, PieceTable *PT, Random *R): 278 struct LoadModifier: public Modifier { 279 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} 288 struct StoreModifier: public Modifier { 289 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} 306 struct BinModifier: public Modifier { 307 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) {} 350 struct ConstModifier: public Modifier { 351 ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R):Modifier(BB, PT, R) { [all...] |
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
ExecutableMemberProjection.java | 25 import signature.model.Modifier; 56 public Set<Modifier> getModifiers() {
|
/cts/tools/signature-tools/src/signature/model/impl/ |
SigMethod.java | 23 import signature.model.Modifier; 52 builder.append(Modifier.toString(method.getModifiers()));
|
/external/javassist/src/main/javassist/convert/ |
TransformFieldAccess.java | 21 import javassist.Modifier; 39 this.isPrivate = Modifier.isPrivate(field.getModifiers());
|
/external/junit/src/junit/framework/ |
TestCase.java | 5 import java.lang.reflect.Modifier; 163 if (!Modifier.isPublic(runMethod.getModifiers())) {
|
/libcore/luni/src/main/java/java/text/ |
AttributedCharacterIterator.java | 23 import java.lang.reflect.Modifier; 131 if (field.getType() == getClass() && Modifier.isStatic(field.getModifiers())) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 20 import java.lang.reflect.Modifier; 81 Modifier.isPublic(testClass.getModifiers()) &&
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
FieldSerializer.java | 39 import java.lang.reflect.Modifier; 78 if (Modifier.isTransient(modifiers)) continue; 79 if (Modifier.isFinal(modifiers)) continue; 80 if (Modifier.isStatic(modifiers)) continue; 87 if (Modifier.isFinal(field.getType().getModifiers())) {
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
TestDelegates.java | 23 import java.lang.reflect.Modifier; 101 if ((originalMethod.getModifiers() & Modifier.STATIC) == 0) { 112 (originalClass.getModifiers() & Modifier.STATIC) == 0) { 138 (delegateMethod.getModifiers() & Modifier.STATIC) == Modifier.STATIC);
|
/cts/tests/SignatureTest/src/android/tests/sigtest/ |
SignatureTest.java | 27 import java.lang.reflect.Modifier; 189 int modifier = jdiffModifierToReflectionFormat(className, parser); local 190 return new JDiffField(fieldName, fieldType, modifier); 203 int modifier = jdiffModifierToReflectionFormat(className, parser); local 204 return new JDiffMethod(methodName, modifier, returnType); 217 int modifier = jdiffModifierToReflectionFormat(name, parser); local 218 return new JDiffConstructor(name, modifier); 244 * Convert string modifier to int modifier. 247 * @param key modifier nam 292 int modifier = 0; local [all...] |
SimpleSignatureTest.java | 31 import java.lang.reflect.Modifier; 214 int modifier = jdiffModifierToReflectionFormat(className, parser); local 215 return new JDiffField(fieldName, fieldType, modifier); 228 int modifier = jdiffModifierToReflectionFormat(className, parser); local 229 return new JDiffMethod(methodName, modifier, returnType); 242 int modifier = jdiffModifierToReflectionFormat(name, parser); local 243 return new JDiffConstructor(name, modifier); 269 * Convert string modifier to int modifier. 272 * @param key modifier nam 317 int modifier = 0; local [all...] |
JDiffClassDescription.java | 23 import java.lang.reflect.Modifier; 146 if ((modifiers & Modifier.PUBLIC) != 0) { 148 } else if ((modifiers & Modifier.PRIVATE) != 0) { 150 } else if ((modifiers & Modifier.PROTECTED) != 0) { 163 if ((modifiers & Modifier.ABSTRACT) != 0) { 171 if ((modifiers & Modifier.STATIC) != 0) { 179 if ((modifiers & Modifier.FINAL) != 0) { 187 if ((modifiers & Modifier.TRANSIENT) != 0) { 195 if ((modifiers & Modifier.VOLATILE) != 0) { 203 if ((modifiers & Modifier.SYNCHRONIZED) != 0) [all...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMockGenerator.java | 31 import java.lang.reflect.Modifier; 116 } else if (Modifier.isFinal(clazz.getModifiers())) { 136 if (Modifier.isPublic(constructor.getModifiers()) || 137 Modifier.isProtected(constructor.getModifiers())) { 147 && !Modifier.isFinal(clazz.getModifiers()); 181 if (Modifier.isFinal(modifiers) || Modifier.isStatic(modifiers)) { 266 if (Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers)) { 396 return !Modifier.isFinal(modifiers) && !Modifier.isStatic(modifiers) && !method.isBridge( [all...] |
/cts/tools/signature-tools/test/signature/converter/ |
ConvertEnumTest.java | 46 import signature.model.Modifier; 143 assertTrue(c.getModifiers().contains(Modifier.PUBLIC)); 144 assertFalse(c.getModifiers().contains(Modifier.STATIC)); 145 assertTrue(c.getModifiers().contains(Modifier.FINAL)); 186 assertTrue(c.getModifiers().contains(Modifier.PUBLIC)); 187 assertFalse(c.getModifiers().contains(Modifier.STATIC)); 188 assertFalse(c.getModifiers().contains(Modifier.FINAL));
|
ConvertClassTest.java | 49 import signature.model.Modifier; 74 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 85 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 96 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 107 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 118 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 137 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 154 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 173 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 192 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)) [all...] |
/external/javassist/src/main/javassist/compiler/ |
MemberResolver.java | 138 boolean isIntf = Modifier.isInterface(mod); 153 if (isIntf || Modifier.isAbstract(mod)) 549 m |= Modifier.STATIC; 552 m |= Modifier.FINAL; 555 m |= Modifier.SYNCHRONIZED; 558 m |= Modifier.ABSTRACT; 561 m |= Modifier.PUBLIC; 564 m |= Modifier.PROTECTED; 567 m |= Modifier.PRIVATE; 570 m |= Modifier.VOLATILE [all...] |
/external/junit/src/org/junit/runners/ |
Parameterized.java | 8 import java.lang.reflect.Modifier; 159 if (Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))
|