Interface JGenericType

All Superinterfaces:
HasAnnotations, HasTypeParameters, JClassType, JRealClassType, JType

public interface JGenericType extends JRealClassType, HasTypeParameters
Type declaration that has type parameters.
  • Method Details

    • asParameterizedByWildcards

      JParameterizedType asParameterizedByWildcards()
    • getRawType

      JRawType getRawType()
      Returns the raw type for this generic type. The raw type removes all 'generics' information from the class. i.e. void a1(List<T>) & void a2(List<String>) becomes void a1(List) & void a2(List)) respectively.