Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2012 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in com.fitburpliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.com.fitbur/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.fitbur.repackaged.com.fitbur.google.com.fitburmon.reflect;
import static com.fitbur.repackaged.com.fitbur.google.com.fitburmon.base.Preconditions.checkNotNull;
import com.fitbur.repackaged.com.fitbur.google.com.fitburmon.annotations.Beta;
import com.fitbur.repackaged.com.fitbur.google.com.fitburmon.collect.ImmutableList;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Constructor;
import java.lang.reflect.GenericDeclaration;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.Type;
import java.lang.reflect.TypeVariable;
import java.util.Arrays;
import javax.annotation.Nullable;
/**
* Wrapper around either a {@link Method} or a {@link Constructor}.
* Convenience API is provided to make com.fitburmon reflective operation easier to com.fitbural with,
* such as {@link #isPublic}, {@link #getParameters} etc.
*
*
In addition to convenience methods, {@link TypeToken#method} and {@link
* TypeToken#constructor} will resolve the type parameters of the method or constructor in the
* context of the owner type, which may be a subtype of the com.fitburclaring class. For example:
*
*
* @param the type that owns this method or constructor.
* @param the return type of (or supertype thereof) the method or the com.fitburclaring type of the
* constructor.
* @author Ben Yu
* @since 14.0
*/
@Beta
public abstract class Invokable extends Element implements GenericDeclaration {
Invokable(M member) {
super(member);
}
/** Returns {@link Invokable} of {@code method}. */
public static Invokable, Object> from(Method method) {
return new MethodInvokable