Class DefaultPolicyLookup.GenericTypeDeclarationReflection

java.lang.Object
name.matthewgreet.strutscommons.util.DefaultPolicyLookup.GenericTypeDeclarationReflection
Enclosing class:
DefaultPolicyLookup

public static class DefaultPolicyLookup.GenericTypeDeclarationReflection extends Object

Class that describes the actual type parameters and generic types of superclass extracted using reflection.

For example, for the class declaration below, genericsDeclaration is [] and superclassGenericsDeclaration is [AgeRange,Date].
AgeRangeValidator extends AbstractPostConversionValidatorSupport<AgeRange,Date>

  • Constructor Details

    • GenericTypeDeclarationReflection

      public GenericTypeDeclarationReflection()
  • Method Details

    • getGenericsDeclaration

      public Type[] getGenericsDeclaration()
    • setGenericsDeclaration

      public void setGenericsDeclaration(Type[] types)
    • getSuperclassGenericsDeclaration

      public Type[] getSuperclassGenericsDeclaration()
    • setSuperclassGenericsDeclaration

      public void setSuperclassGenericsDeclaration(Type[] types)
    • toString

      public String toString()
      Overrides:
      toString in class Object