Package com.google.common.reflect
Class Parameter
java.lang.Object
com.google.common.reflect.Parameter
- All Implemented Interfaces:
AnnotatedElement
@Beta
@Deprecated(since="2022-12-01")
public final class Parameter
extends Object
implements AnnotatedElement
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
Represents a method or constructor parameter.
- Since:
- 14.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.<A extends Annotation>
AgetAnnotation(Class<A> annotationType) Deprecated.Deprecated.Deprecated.Invokable<?, ?> Deprecated.Returns theInvokablethat declares this parameter.TypeToken<?> getType()Deprecated.Returns the type of the parameter.inthashCode()Deprecated.booleanisAnnotationPresent(Class<? extends Annotation> annotationType) Deprecated.toString()Deprecated.Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
-
Method Details
-
getType
Deprecated.Returns the type of the parameter. -
getDeclaringInvokable
Deprecated.Returns theInvokablethat declares this parameter. -
isAnnotationPresent
Deprecated.- Specified by:
isAnnotationPresentin interfaceAnnotatedElement
-
getAnnotation
Deprecated.- Specified by:
getAnnotationin interfaceAnnotatedElement
-
getAnnotations
Deprecated.- Specified by:
getAnnotationsin interfaceAnnotatedElement
-
getDeclaredAnnotations
Deprecated.- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-