Home
last modified time | relevance | path

Searched refs:methodInvocation (Results 1 – 17 of 17) sorted by relevance

/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaLocalTxnInterceptor.java43 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
51 Transactional transactional = readTransactionMetadata(methodInvocation); in invoke()
56 return methodInvocation.proceed(); in invoke()
64 result = methodInvocation.proceed(); in invoke()
99 private Transactional readTransactionMetadata(MethodInvocation methodInvocation) { in readTransactionMetadata() argument
101 Method method = methodInvocation.getMethod(); in readTransactionMetadata()
102 Class<?> targetClass = methodInvocation.getThis().getClass(); in readTransactionMetadata()
DJpaFinderProxy.java55 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
59 JpaFinderProxy.FinderDescriptor finderDescriptor = getFinderDescriptor(methodInvocation); in invoke()
66 bindQueryRawParameters(jpaQuery, finderDescriptor, methodInvocation.getArguments()); in invoke()
68 bindQueryNamedParameters(jpaQuery, finderDescriptor, methodInvocation.getArguments()); in invoke()
/external/guice/core/test/com/google/inject/
DMethodInterceptionTest.java45 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
47 return methodInvocation.proceed(); in invoke()
53 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
60 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
61 return methodInvocation.proceed(); in invoke()
136 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in testGetThis()
137 lastTarget.set(methodInvocation.getThis()); in testGetThis()
138 return methodInvocation.proceed(); in testGetThis()
160 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in testInterceptingFinalClass()
161 return methodInvocation.proceed(); in testInterceptingFinalClass()
[all …]
DIntegrationTest.java65 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
67 return methodInvocation.proceed(); in invoke()
DTypeListenerTest.java167 public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) in prefixInterceptor()
169 return prefix + methodInvocation.proceed(); in prefixInterceptor()
682 public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
684 return methodInvocation.proceed();
DBindingTest.java319 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in testToConstructorAndMethodInterceptors()
321 return methodInvocation.proceed(); in testToConstructorAndMethodInterceptors()
DParentInjectorTest.java150 public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) {
/external/guice/core/test/com/google/inject/internal/
DProxyFactoryTest.java69 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
71 return methodInvocation.proceed(); in invoke()
192 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
194 return methodInvocation.proceed(); in invoke()
201 public Object invoke(MethodInvocation methodInvocation) throws Throwable { in invoke() argument
202 methodInvocation.proceed(); in invoke()
203 return methodInvocation.proceed(); in invoke()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/temporary/
DFluentFutureHandler.java79 MethodInvocationTree methodInvocation = in onOverrideMethodReturnNullability() local
81 if (methodInvocation == null || !methodInvocation.getArguments().contains(enclosingLambda)) { in onOverrideMethodReturnNullability()
85 Symbol.MethodSymbol lambdaConsumerMethodSymbol = ASTHelpers.getSymbol(methodInvocation); in onOverrideMethodReturnNullability()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DTrees.java63 static Name getMethodName(MethodInvocationTree methodInvocation) { in getMethodName() argument
64 ExpressionTree select = methodInvocation.getMethodSelect(); in getMethodName()
71 static ExpressionTree getMethodReceiver(MethodInvocationTree methodInvocation) { in getMethodReceiver() argument
72 ExpressionTree select = methodInvocation.getMethodSelect(); in getMethodReceiver()
DJavaInputAstVisitor.java3033 MethodInvocationTree methodInvocation = (MethodInvocationTree) e;
3034 Name name = getMethodName(methodInvocation);
3035 if (!(methodInvocation.getMethodSelect() instanceof IdentifierTree)
3037 || !methodInvocation.getTypeArguments().isEmpty()
3038 || methodInvocation.getArguments().size() != 1) {
3045 ExpressionTree arg = getOnlyElement(methodInvocation.getArguments());
3143 MethodInvocationTree methodInvocation = (MethodInvocationTree) expression;
3144 if (!methodInvocation.getTypeArguments().isEmpty()) {
3146 addTypeArguments(methodInvocation.getTypeArguments(), ZERO);
3151 visit(getMethodName(methodInvocation));
[all …]
/external/dagger2/java/dagger/internal/codegen/writing/
DSetRequestRepresentation.java157 ClassName requestingClass, CodeBlock methodInvocation) { in collectionsStaticFactoryInvocation() argument
163 .add(methodInvocation) in collectionsStaticFactoryInvocation()
DMapRequestRepresentation.java162 ClassName requestingClass, CodeBlock methodInvocation) { in collectionsStaticFactoryInvocation() argument
168 .add(methodInvocation) in collectionsStaticFactoryInvocation()
/external/guice/core/test/com/google/inject/internal/util/
DLineNumbersTest.java74 org.aopalliance.intercept.MethodInvocation methodInvocation) { in testCanHandleLineNumbersForGuiceGeneratedClasses()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java881 public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) in testMethodInterceptorsOnAssistedTypes()
884 return methodInvocation.proceed(); in testMethodInterceptorsOnAssistedTypes()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java736 public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) { in testBindIntercepor()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
DNullAway.java2174 return Matchers.methodInvocation(THIS_MATCHER).matches(expression, state); in isThisCall()