Class AbstractJavaConstantConversion<T>

    • Field Detail

      • classLoader

        @Inject
        protected java.lang.ClassLoader classLoader
        Classloader to use.
    • Constructor Detail

      • AbstractJavaConstantConversion

        public AbstractJavaConstantConversion()
    • Method Detail

      • performConversion

        protected java.lang.Object performConversion​(JavaConstantValue aSource,
                                                     java.lang.Class<? extends java.lang.Object> aTargetType,
                                                     ConversionContext aConversionContext)
                                              throws ConversionFailedException
        Converts a Java Constant Value to anything.
        Parameters:
        aSource - the value to convert
        aTargetType - the target type
        aConversionContext - the conversion context
        Returns:
        the conversion result
        Throws:
        ConversionFailedException