com.github.loicoudot.java4cpp.Java4CppWrappe Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java4cpp-annotations Show documentation
Show all versions of java4cpp-annotations Show documentation
Annotations classes for java4cpp project
The newest version!
package com.github.loicoudot.java4cpp;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Enable the wrapping of an element. The annotation can be placed on public :
*
* - inner-class if {@code Java4Cpp(all = false)}
* - constructor if {@code Java4Cpp(all = false)}
* - method if {@code Java4Cpp(all = false)}
* - static field if {@code Java4Cpp(staticFields = false)}
*
*
* @author Loic Oudot
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface Java4CppWrappe {
/**
* Sets this attribute to change the name of the generated element in the
* C++ proxy.
*
* By default the generated element have the same name as the corresponding
* Java one. The name is escaped by the mappings configuration of java4cpp.
* This value need to be a valid C++ name.
*/
String value() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy