Class TypeSet.PrimitiveTypeResolver

  • All Implemented Interfaces:
    TypeSet.Resolver
    Enclosing class:
    TypeSet

    public static class TypeSet.PrimitiveTypeResolver
    extends Object
    implements TypeSet.Resolver
    Resolver that resolves primitive types such as int or double.
    • Constructor Detail

      • PrimitiveTypeResolver

        public PrimitiveTypeResolver()
    • Method Detail

      • couldResolve

        public boolean couldResolve​(String name)
        Description copied from interface: TypeSet.Resolver
        Checks if the given class could be resolved by this resolver. Notice, that a resolver's ability to resolve a class does not imply that the class will actually be found and resolved.
        Specified by:
        couldResolve in interface TypeSet.Resolver
        Parameters:
        name - the name of the class, might be fully classified or not.
        Returns:
        whether the class can be resolved