public interface NodeWithTypeParameters<T>
class X {} --> typeParameters == [] class X<> {} --> does not occur. class X<C,D> {} --> typeParameters = [C,D]
Modifier and Type | Method and Description |
---|---|
NodeList<TypeParameter> |
getTypeParameters() |
default boolean |
isGeneric() |
T |
setTypeParameters(NodeList<TypeParameter> typeParameters) |
NodeList<TypeParameter> getTypeParameters()
T setTypeParameters(NodeList<TypeParameter> typeParameters)
default boolean isGeneric()
Copyright © 2007–2016. All rights reserved.