public static boolean isSupportedJDKType ( TypeName typeName ) { if ( typeName . isPrimitive ( ) ) { return getPrimitiveTransform ( typeName ) != null ; } String name = typeName . toString ( ) ; if ( name . startsWith ( "java.lang" ) ) { return getLanguageTransform ( typeName ) != null ; } if ( name . startsWith ( "java.util" ) ) { return getUtilTransform ( typeName ) != null ; } if ( name . startsWith ( "java.math" ) ) { return getMathTransform ( typeName ) != null ; } if ( name . startsWith ( "java.net" ) ) { return getNetTransform ( typeName ) != null ; } if ( name . startsWith ( "java.sql" ) ) { return getSqlTransform ( typeName ) != null ; } return false ; }
Checks if is supported JDK type .