Search in sources :

Example 1 with NullType

use of javax.lang.model.type.NullType in project RoboBinding by RoboBinding.

the class TypeMirrorWrapperTest method unsupportedTypeMirrors.

@DataPoints("unsupportedTypeMirrors")
public static TypeMirror[] unsupportedTypeMirrors() {
    Types types = compilation.getTypes();
    NullType nullType = types.getNullType();
    NoType noneType = types.getNoType(TypeKind.NONE);
    return new TypeMirror[] { nullType, noneType };
}
Also used : Types(javax.lang.model.util.Types) NoType(javax.lang.model.type.NoType) TypeMirror(javax.lang.model.type.TypeMirror) NullType(javax.lang.model.type.NullType) FromDataPoints(org.junit.experimental.theories.FromDataPoints) DataPoints(org.junit.experimental.theories.DataPoints)

Aggregations

NoType (javax.lang.model.type.NoType)1 NullType (javax.lang.model.type.NullType)1 TypeMirror (javax.lang.model.type.TypeMirror)1 Types (javax.lang.model.util.Types)1 DataPoints (org.junit.experimental.theories.DataPoints)1 FromDataPoints (org.junit.experimental.theories.FromDataPoints)1