mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
19 lines
813 B
Java
19 lines
813 B
Java
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
package org.mozilla.gecko.mozglue;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/**
|
|
* Used to annotate parameters which are optional on the C++ side of the bridge. The annotation is
|
|
* used by the annotation processor to generate the appropriate C++ headers so calls into the Java
|
|
* method all have the optional params set to the default value.
|
|
* The default values are zero for numerical types, false for booleans, "" for strings, and null
|
|
* for all other reference types.
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface OptionalGeneratedParameter {}
|