Home
last modified time | relevance | path

Searched refs:isVarArgs (Results 1 – 25 of 68) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DParameter.java37 private boolean isVarArgs; field in Parameter
52 …mn, int modifiers, List<AnnotationExpr> annotations, Type type, boolean isVarArgs, VariableDeclara… in Parameter() argument
55 setVarArgs(isVarArgs); in Parameter()
72 public boolean isVarArgs() { in isVarArgs() method in Parameter
73 return isVarArgs; in isVarArgs()
81 public void setVarArgs(boolean isVarArgs) { in setVarArgs() argument
82 this.isVarArgs = isVarArgs; in setVarArgs()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DParameter.java62 private boolean isVarArgs; field in Parameter
95 …er> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<Annota… in Parameter() argument
96 this(null, modifiers, annotations, type, isVarArgs, varArgsAnnotations, name); in Parameter()
103 …er> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<Annota… in Parameter() argument
108 setVarArgs(isVarArgs); in Parameter()
132 public boolean isVarArgs() { in isVarArgs() method in Parameter
133 return isVarArgs; in isVarArgs()
151 public Parameter setVarArgs(final boolean isVarArgs) { in setVarArgs() argument
152 if (isVarArgs == this.isVarArgs) { in setVarArgs()
155 notifyPropertyChange(ObservableProperty.VAR_ARGS, this.isVarArgs, isVarArgs); in setVarArgs()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DParameter.java54 private boolean isVarArgs; field in Parameter
96 boolean isVarArgs, in Parameter() argument
103 setVarArgs(isVarArgs); in Parameter()
124 public boolean isVarArgs() { in isVarArgs() method in Parameter
125 return isVarArgs; in isVarArgs()
137 public Parameter setVarArgs(boolean isVarArgs) { in setVarArgs() argument
138 this.isVarArgs = isVarArgs; in setVarArgs()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java24 private final boolean isVarArgs; field in SerializableMethod
36 isVarArgs = method.isVarArgs(); in SerializableMethod()
56 public boolean isVarArgs() { in isVarArgs() method in SerializableMethod
57 return isVarArgs; in isVarArgs()
DArgumentsProcessor.java25 return expandVarArgs(method.isVarArgs(), args); in expandArgs()
30 private static Object[] expandVarArgs(final boolean isVarArgs, final Object[] args) { in expandVarArgs() argument
31 …if (!isVarArgs || isNullOrEmpty(args) || args[args.length - 1] != null && !args[args.length - 1].g… in expandVarArgs()
DMockitoMethod.java19 boolean isVarArgs(); in isVarArgs() method
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliMethodTest.java180 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod()
181 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod()
182 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[1].isVarArgs()); in testVarArgsMethod()
183 Assert.assertTrue(smaliMethod.getParameterList().getParameters()[2].isVarArgs()); in testVarArgsMethod()
186 Assert.assertTrue(smaliMethod.isVarArgs()); in testVarArgsMethod()
187 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[0].isVarArgs()); in testVarArgsMethod()
188 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[1].isVarArgs()); in testVarArgsMethod()
189 Assert.assertFalse(smaliMethod.getParameterList().getParameters()[2].isVarArgs()); in testVarArgsMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_Parameter.txt20 Line 55) setVarArgs(isVarArgs) ==> void
24 Line 73) isVarArgs ==> boolean
27 Line 82) this.isVarArgs = isVarArgs ==> boolean
/external/guava/android/guava/src/com/google/common/reflect/
DInvokable.java81 public abstract boolean isVarArgs(); in isVarArgs() method in Invokable
237 public final boolean isVarArgs() { in isVarArgs() method in Invokable.MethodInvokable
238 return method.isVarArgs(); in isVarArgs()
327 public final boolean isVarArgs() { in isVarArgs() method in Invokable.ConstructorInvokable
328 return constructor.isVarArgs(); in isVarArgs()
/external/easymock/src/org/easymock/internal/
DInvocation.java45 this.arguments = expandVarArgs(method.isVarArgs(), args); in Invocation()
48 private static Object[] expandVarArgs(final boolean isVarArgs, in expandVarArgs() argument
50 if (!isVarArgs) { in expandVarArgs()
127 if (method.isVarArgs()) { in isPrimitiveParameter()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java82 public abstract boolean isVarArgs(); in isVarArgs() method in Invokable
255 public final boolean isVarArgs() { in isVarArgs() method in Invokable.MethodInvokable
256 return method.isVarArgs(); in isVarArgs()
355 public final boolean isVarArgs() { in isVarArgs() method in Invokable.ConstructorInvokable
356 return constructor.isVarArgs(); in isVarArgs()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAt.java104 return method.isVarArgs() && in wantedArgIndexIsVarargAndSameTypeAsReturnType()
113 if (!invocation.getMethod().isVarArgs()) { in wantedArgumentPositionIsValidForInvocation()
124 if (!invocation.getMethod().isVarArgs()) { in inferArgumentType()
/external/mockito/src/main/java/org/mockito/internal/creation/
DDelegatingMethod.java43 public boolean isVarArgs() { in isVarArgs() method in DelegatingMethod
44 return method.isVarArgs(); in isVarArgs()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserParameterDeclaration.txt3 Line 56) wrappedNode.isVarArgs() ==> com.github.javaparser.ast.body.Parameter.isVarArgs()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionConstructorDeclaration.txt6 Line 57) constructor.isVarArgs() ==> java.lang.reflect.Constructor.isVarArgs()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionMethodDeclaration.txt14 Line 100) method.isVarArgs() ==> java.lang.reflect.Method.isVarArgs()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DSerializableMethodTest.java49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs()); in shouldBeAbleToCheckIsArgVargs()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DInvokableTest.java251 assertFalse(delegate.isVarArgs()); in testPrivateInstanceMethod_isOverridable()
259 assertFalse(delegate.isVarArgs()); in testPrivateFinalInstanceMethod_isOverridable()
266 assertFalse(delegate.isVarArgs()); in testStaticMethod_isOverridable()
274 assertFalse(delegate.isVarArgs()); in testStaticFinalMethod_isFinal()
282 assertFalse(delegate.isVarArgs()); in testConstructor_isOverridablel()
287 assertTrue(delegate.isVarArgs()); in testMethod_isVarArgs()
292 assertTrue(delegate.isVarArgs()); in testConstructor_isVarArgs()
313 assertFalse(delegate.isVarArgs()); in testNonFinalMethodInFinalClass_isOverridable()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java251 assertFalse(delegate.isVarArgs()); in testPrivateInstanceMethod_isOverridable()
259 assertFalse(delegate.isVarArgs()); in testPrivateFinalInstanceMethod_isOverridable()
266 assertFalse(delegate.isVarArgs()); in testStaticMethod_isOverridable()
274 assertFalse(delegate.isVarArgs()); in testStaticFinalMethod_isFinal()
282 assertFalse(delegate.isVarArgs()); in testConstructor_isOverridablel()
287 assertTrue(delegate.isVarArgs()); in testMethod_isVarArgs()
292 assertTrue(delegate.isVarArgs()); in testConstructor_isVarArgs()
313 assertFalse(delegate.isVarArgs()); in testNonFinalMethodInFinalClass_isOverridable()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAccessFlags.java212 public final void isVarArgs(final boolean flag) { in isVarArgs() method in AccessFlags
216 public final boolean isVarArgs() { in isVarArgs() method in AccessFlags
/external/doclava/src/com/google/doclava/apicheck/
DAbstractMethodInfo.java28 public boolean isVarArgs(); in isVarArgs() method
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliMethodParameter.java64 @Override public boolean isVarArgs() { in isVarArgs() method in SmaliMethodParameter
65 if (getType().getArrayDimensions() == 0 || !getParentMethod().isVarArgs()) { in isVarArgs()
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DMethod.java176 boolean isVarArgs(); in isVarArgs() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserParameterDeclaration.java56 return wrappedNode.isVarArgs(); in isVariadic()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionConstructorDeclaration.java57 if (constructor.isVarArgs()) { in getParam()

123