Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DImportDeclaration.java54 private boolean isStatic; field in ImportDeclaration
62 public ImportDeclaration(String name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
63 this(null, parseName(name), isStatic, isAsterisk); in ImportDeclaration()
67 public ImportDeclaration(Name name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
68 this(null, name, isStatic, isAsterisk); in ImportDeclaration()
75 … public ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
78 setStatic(isStatic); in ImportDeclaration()
112 public boolean isStatic() { in isStatic() method in ImportDeclaration
113 return isStatic; in isStatic()
141 public ImportDeclaration setStatic(final boolean isStatic) { in setStatic() argument
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DInitializerDeclaration.java50 private boolean isStatic; field in InitializerDeclaration
59 public InitializerDeclaration(boolean isStatic, BlockStmt body) { in InitializerDeclaration() argument
60 this(null, isStatic, body); in InitializerDeclaration()
67 public InitializerDeclaration(TokenRange tokenRange, boolean isStatic, BlockStmt body) { in InitializerDeclaration() argument
69 setStatic(isStatic); in InitializerDeclaration()
92 public boolean isStatic() { in isStatic() method in InitializerDeclaration
93 return isStatic; in isStatic()
111 public InitializerDeclaration setStatic(final boolean isStatic) { in setStatic() argument
112 if (isStatic == this.isStatic) { in setStatic()
115 notifyPropertyChange(ObservableProperty.STATIC, this.isStatic, isStatic); in setStatic()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DInitializerDeclaration.java37 private boolean isStatic; field in InitializerDeclaration
44 public InitializerDeclaration(boolean isStatic, BlockStmt block) { in InitializerDeclaration() argument
46 setStatic(isStatic); in InitializerDeclaration()
50 public InitializerDeclaration(Range range, boolean isStatic, BlockStmt block) { in InitializerDeclaration() argument
52 setStatic(isStatic); in InitializerDeclaration()
70 public boolean isStatic() { in isStatic() method in InitializerDeclaration
71 return isStatic; in isStatic()
80 public InitializerDeclaration setStatic(boolean isStatic) { in setStatic() argument
81 this.isStatic = isStatic; in setStatic()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DInitializerDeclaration.java35 private boolean isStatic; field in InitializerDeclaration
42 public InitializerDeclaration(boolean isStatic, BlockStmt block) { in InitializerDeclaration() argument
44 setStatic(isStatic); in InitializerDeclaration()
48 …ion(int beginLine, int beginColumn, int endLine, int endColumn, boolean isStatic, BlockStmt block)… in InitializerDeclaration() argument
50 setStatic(isStatic); in InitializerDeclaration()
68 public boolean isStatic() { in isStatic() method in InitializerDeclaration
69 return isStatic; in isStatic()
77 public void setStatic(boolean isStatic) { in setStatic() argument
78 this.isStatic = isStatic; in setStatic()
/external/proguard/src/proguard/evaluation/
DBasicInvocationUnit.java48 private boolean isStatic; field in BasicInvocationUnit
70 boolean isStatic = in enterMethod()
74 int parameterSize = ClassUtil.internalMethodParameterSize(descriptor, isStatic); in enterMethod()
87 if (!isStatic) in enterMethod()
145 isStatic = true; in invokeMember()
150 isStatic = true; in invokeMember()
155 isStatic = false; in invokeMember()
160 isStatic = false; in invokeMember()
166 isStatic = true; in invokeMember()
172 isStatic = false; in invokeMember()
[all …]
/external/jdiff/src/jdiff/
DModifiers.java18 public boolean isStatic = false; field in Modifiers
39 if (isStatic != oModifiers.isStatic) in compareTo()
64 if (isStatic != newModifiers.isStatic) { in diff()
66 if (isStatic) in diff()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvocationProfile.java8 public final boolean isStatic; field in InvocationProfile
12 …public InvocationProfile(String methodSignatureString, boolean isStatic, ClassLoader classLoader) { in InvocationProfile() argument
17 this.isStatic = isStatic; in InvocationProfile()
63 if (isStatic != that.isStatic) return false; in equals()
75 result = 31 * result + (isStatic ? 1 : 0); in hashCode()
DRobolectricGeneratorAdapter.java17 final boolean isStatic; field in RobolectricGeneratorAdapter
22 this.isStatic = Modifier.isStatic(methodNode.access); in RobolectricGeneratorAdapter()
27 if (isStatic) { in loadThisOrNull()
34 public boolean isStatic() { in isStatic() method in RobolectricGeneratorAdapter
35 return isStatic; in isStatic()
72 if (isStatic()) { in invokeMethod()
DRobolectricInternals.java29 …public static ClassHandler.Plan methodInvoked(String signature, boolean isStatic, Class<?> theClas… in methodInvoked() argument
30 return classHandler.methodInvoked(signature, isStatic, theClass); in methodInvoked()
38 MethodType methodType, boolean isStatic) throws IllegalAccessException { in findShadowMethodHandle() argument
39 return classHandler.findShadowMethodHandle(theClass, name, methodType, isStatic); in findShadowMethodHandle()
DShadowWrangler.java144 if (!Modifier.isStatic(method.getModifiers())) { in classInitializing()
164 public Plan methodInvoked(String signature, boolean isStatic, Class<?> theClass) { in methodInvoked() argument
169 plan = calculatePlan(signature, isStatic, theClass); in methodInvoked()
176 private Plan calculatePlan(String signature, boolean isStatic, Class<?> definingClass) { in calculatePlan() argument
180 new InvocationProfile(signature, isStatic, classLoader); in calculatePlan()
199 MethodType methodType, boolean isStatic) throws IllegalAccessException { in findShadowMethodHandle() argument
201 MethodType actualType = isStatic ? methodType : methodType.dropParameterTypes(0, 1); in findShadowMethodHandle()
217 if (!isStatic && Modifier.isStatic(shadowMethod.getModifiers())) { in findShadowMethodHandle()
529 if (Modifier.isStatic(field.getModifiers())) {
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DImportDeclaration.java52 public ImportDeclaration(NameExpr name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
55 setStatic(isStatic); in ImportDeclaration()
58 …ne, int beginColumn, int endLine, int endColumn, NameExpr name, boolean isStatic, boolean isAsteri… in ImportDeclaration() argument
62 setStatic(isStatic); in ImportDeclaration()
100 public boolean isStatic() { in isStatic() method in ImportDeclaration
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DMethodUtil.java64 public static boolean isStatic(@Nonnull Method method) { in isStatic() method in MethodUtil
79 return getParameterRegisterCount(method, MethodUtil.isStatic(method)); in getParameterRegisterCount()
82 …public static int getParameterRegisterCount(@Nonnull MethodReference methodRef, boolean isStatic) { in getParameterRegisterCount() argument
83 return getParameterRegisterCount(methodRef.getParameterTypes(), isStatic); in getParameterRegisterCount()
87 boolean isStatic) { in getParameterRegisterCount() argument
97 if (!isStatic) { in getParameterRegisterCount()
DFieldUtil.java44 return input!=null && isStatic(input);
50 return input!= null && !isStatic(input);
54 public static boolean isStatic(@Nonnull Field field) { in isStatic() method in FieldUtil
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkMethod.java73 public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors) {
74 validatePublicVoid(isStatic, errors);
90 public void validatePublicVoid(boolean isStatic, List<Throwable> errors) {
91 if (isStatic() != isStatic) {
92 String state = isStatic ? "should" : "should not";
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_body_InitializerDeclaration.txt10 Line 44) setStatic(isStatic) ==> void
17 Line 50) setStatic(isStatic) ==> void
22 Line 69) isStatic ==> boolean
25 Line 78) this.isStatic = isStatic ==> boolean
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DImportDeclaration.java77 public ImportDeclaration(NameExpr name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
80 setStatic(isStatic); in ImportDeclaration()
84 public ImportDeclaration(Range range, NameExpr name, boolean isStatic, boolean isAsterisk) { in ImportDeclaration() argument
88 setStatic(isStatic); in ImportDeclaration()
138 public boolean isStatic() { in isStatic() method in ImportDeclaration
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DOdexedFieldInstructionMapper.java55 public final boolean isStatic; field in OdexedFieldInstructionMapper.FieldOpcode
63 this.isStatic = false; in FieldOpcode()
69 …public FieldOpcode(char type, boolean isStatic, @Nonnull Opcode normalOpcode, @Nullable Opcode vol… in FieldOpcode() argument
71 this.isStatic = isStatic; in FieldOpcode()
79 this.isStatic = false; in FieldOpcode()
208 private static boolean isStatic(@Nonnull Opcode opcode) { in isStatic() method in OdexedFieldInstructionMapper
222 [isStatic(fieldOpcode.normalOpcode)?STATIC:INSTANCE] in OdexedFieldInstructionMapper()
237 [isStatic(odexedOpcode)?STATIC:INSTANCE] in getAndCheckDeodexedOpcode()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java43 assertFalse(element.isStatic()); in testPrivateField()
54 assertFalse(element.isStatic()); in testPackagePrivateField()
65 assertFalse(element.isStatic()); in testProtectedField()
76 assertFalse(element.isStatic()); in testPublicField()
83 assertFalse(element.isStatic()); in testFinalField()
89 assertTrue(element.isStatic()); in testStaticField()
108 assertFalse(element.isStatic()); in testConstructor()
/external/junit/src/main/java/org/junit/internal/runners/
DMethodValidator.java70 boolean isStatic) { in validateTestMethods() argument
74 if (Modifier.isStatic(each.getModifiers()) != isStatic) { in validateTestMethods()
75 String state = isStatic ? "should" : "should not"; in validateTestMethods()
/external/vogar/src/vogar/
DClassAnalyzer.java29 public boolean hasMethod(boolean isStatic, Class<?> returnType, String name, in hasMethod() argument
35 boolean satisfiesStatic = isStatic == Modifier.isStatic(modifier); in hasMethod()
/external/doclava/src/com/google/doclava/
DFieldInfo.java36 boolean isFinal, boolean isStatic, boolean isTransient, boolean isVolatile, in FieldInfo() argument
40 …isPackagePrivate, isPrivate, isFinal, isStatic, isSynthetic, chooseKind(isFinal, isStatic, constan… in FieldInfo()
53 isProtected(), isPackagePrivate(), isPrivate(), isFinal(), isStatic(), isTransient(), in cloneForClass()
58 static String chooseKind(boolean isFinal, boolean isStatic, Object constantValue) in chooseKind() argument
60 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind()
108 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() argument
118 return isFinal && isStatic && (constantValue != null); in isConstant()
122 return isConstant(isFinal(), isStatic(), mConstantValue); in isConstant()
383 data.setValue(base + ".static", isStatic() ? "static" : ""); in makeHDF()
DMemberInfo.java25 boolean isStatic, boolean isSynthetic, String kind, SourcePositionInfo position, in MemberInfo() argument
37 mIsStatic = isStatic; in MemberInfo()
122 public boolean isStatic() { in isStatic() method in MemberInfo
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java157 if (implMethod.isStatic != sdkMethod.isStatic) { in verifyMethod()
159 + " is " + (implMethod.isStatic ? "static" : "not static") in verifyMethod()
418 private final boolean isStatic; field in SdkStore.MethodExtraInfo
422 this.isStatic = (method.access & Opcodes.ACC_STATIC) != 0; in MethodExtraInfo()
427 this.isStatic = methodElement.getModifiers().contains(Modifier.STATIC); in MethodExtraInfo()
440 return isStatic == that.isStatic && in equals()
446 return Objects.hash(isStatic, returnType); in hashCode()
/external/jsoncpp/src/lib_json/
Djson_internalmap.inl138 bool isStatic; local
139 const char* memberName = key(it, isStatic);
141 resolveReference(memberName, isStatic) = aValue;
227 Value& ValueInternalMap::resolveReference(const char* key, bool isStatic) { argument
237 return setNewItem(key, isStatic, current, index);
245 return unsafeAdd(key, isStatic, hashedKey);
316 bool isStatic, argument
323 link->items_[index].setMemberNameIsStatic(isStatic);
328 ValueInternalMap::unsafeAdd(const char* key, bool isStatic, HashKey hashedKey) { argument
347 return setNewItem(key, isStatic, link, index);
[all …]
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java79 assertTrue(Modifier.isStatic(method.getModifiers())); in serverBuilderHidesMethod_forPort()
89 assertTrue(Modifier.isStatic(method.getModifiers())); in channelBuilderHidesMethod_forAddress()
99 assertTrue(Modifier.isStatic(method.getModifiers())); in channelBuilderHidesMethod_forTarget()

12345678910>>...12