asn1s-databind/src/main/java/org/asn1s/databind/TypeMapperContext.java
/**
	 * Register java type to asn1 type mapping
	 *
	 * @param typeName  the java type name, must point to {@link Class}
	 * @param namedType the asn1 type
	 */
Register java type to asn1 type mapping
@param typeName  the java type name, must point to  Class
@param namedType the asn1 type
Register java type to asn1 type mapping @param typeName the java type name must point to Class @param namedType the asn1 type
public void registerJavaClassForNamedType( @NotNull String typeName, @NotNull NamedType namedType )
	{
		if( java2asn1Map.containsKey( typeName ) )
			throw new IllegalArgumentException( "Java2Asn1 mapping already exist for: " + typeName );
		java2asn1Map.put( typeName, namedType );
	}
public void registerJavaClassForNamedType ( @ NotNull String typeName , @ NotNull NamedType namedType ) { if ( java2asn1Map . containsKey ( typeName ) ) throw new IllegalArgumentException ( "Java2Asn1 mapping already exist for: " + typeName ) ; java2asn1Map . put ( typeName , namedType ) ; }
Register java type to asn1 type mapping
 @param typeName  the java type name, must point to {@link Class}
 @param namedType the asn1 type
Register java type to asn1 type mapping @param typeName the java type name must point to { @link Class } @param namedType the asn1 type