Package com.google.common.reflect
Class Parameter
- java.lang.Object
-
- com.google.common.reflect.Parameter
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
@Beta @Deprecated(since="2022-12-01") public final class Parameter extends java.lang.Object implements java.lang.reflect.AnnotatedElement
Deprecated.The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023Represents a method or constructor parameter.- Since:
- 14.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Deprecated.<A extends java.lang.annotation.Annotation>
AgetAnnotation(java.lang.Class<A> annotationType)Deprecated.java.lang.annotation.Annotation[]getAnnotations()Deprecated.java.lang.annotation.Annotation[]getDeclaredAnnotations()Deprecated.Invokable<?,?>getDeclaringInvokable()Deprecated.Returns theInvokablethat declares this parameter.TypeToken<?>getType()Deprecated.Returns the type of the parameter.inthashCode()Deprecated.booleanisAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getType
public TypeToken<?> getType()
Deprecated.Returns the type of the parameter.
-
getDeclaringInvokable
public Invokable<?,?> getDeclaringInvokable()
Deprecated.Returns theInvokablethat declares this parameter.
-
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Deprecated.- Specified by:
isAnnotationPresentin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotation
@Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
Deprecated.- Specified by:
getAnnotationin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
Deprecated.- Specified by:
getAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
Deprecated.- Specified by:
getDeclaredAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
equals
public boolean equals(@Nullable java.lang.Object obj)Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-