Class PrimitiveOrWrapperType
java.lang.Object
org.evomaster.client.java.controller.problem.rpc.schema.types.TypeSchema
org.evomaster.client.java.controller.problem.rpc.schema.types.PrimitiveOrWrapperType
primitive types
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanrepresent if the type is wrapper for instance, isWrapper for Integer is true and for int is falseFields inherited from class org.evomaster.client.java.controller.problem.rpc.schema.types.TypeSchema
depth, spec -
Constructor Summary
ConstructorsConstructorDescriptionPrimitiveOrWrapperType(String type, String fullTypeName, boolean isWrapper, Class<?> clazz, JavaDtoSpec spec) PrimitiveOrWrapperType(String type, String fullTypeName, Class<?> clazz, JavaDtoSpec spec) -
Method Summary
Modifier and TypeMethodDescriptioncopy()getTypeNameForInstanceInJavaOrKotlin(boolean isJava) booleanbooleanbooleanisNumber()static booleanisPrimitiveOrTypes(Class<?> clazz) static booleanisPrimitiveOrTypes(String type) Methods inherited from class org.evomaster.client.java.controller.problem.rpc.schema.types.TypeSchema
getClazz, getDto, getFullTypeName, getFullTypeNameWithGenericType, getSimpleTypeName, sameType, setOriginalType
-
Field Details
-
isWrapper
public final boolean isWrapperrepresent if the type is wrapper for instance, isWrapper for Integer is true and for int is false
-
-
Constructor Details
-
PrimitiveOrWrapperType
public PrimitiveOrWrapperType(String type, String fullTypeName, boolean isWrapper, Class<?> clazz, JavaDtoSpec spec) -
PrimitiveOrWrapperType
-
-
Method Details
-
isPrimitiveOrTypes
-
isPrimitiveOrTypes
-
copy
- Specified by:
copyin classTypeSchema
-
isNumber
public boolean isNumber() -
isFloatingPointNumber
public boolean isFloatingPointNumber() -
isIntegralNumber
public boolean isIntegralNumber() -
getTypeNameForInstanceInJavaOrKotlin
- Overrides:
getTypeNameForInstanceInJavaOrKotlinin classTypeSchema
-