com4j.MarshalAs Maven / Gradle / Ivy
package com4j;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Controls how a Java parameter should be marshaled
* to a native type.
*
*
* This annotation is used on parameters of wrapped COM methods
* to control the conversion to the native types.
*
* @author Kohsuke Kawaguchi ([email protected])
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface MarshalAs {
/**
* Returns the NativeType to which this Java parameter should be marshaled.
* @return the NativeType to which this Java parameter should be marshaled.
*/
NativeType value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy