Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for JavaAnno (0.27 sec)

  1. analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt

    // FILE: JavaAnno.java
    
    import java.lang.annotation.Target;
    import java.lang.annotation.ElementType;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    
    @Target({FIELD, METHOD})
    public @interface JavaAnno() {
        ElementType[] types();
    }
    
    // FILE: test.kt
    
    import java.lang.annotation.ElementType.FIELD
    
    class Test {
        @JavaAnno(FIELD)
        val f<caret>oo = ""
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 17 11:58:14 UTC 2022
    - 422 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/annotations/metaAnnotations/onProperty_javaAnnotation_varargParameter.kt

    // FILE: JavaAnno.java
    
    import java.lang.annotation.Target;
    import java.lang.annotation.ElementType;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    
    @Target({FIELD, METHOD})
    public @interface JavaAnno() {
        ElementType[] value();
    }
    
    // FILE: test.kt
    
    import java.lang.annotation.ElementType.FIELD
    import java.lang.annotation.ElementType.METHOD
    
    class Test {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jan 12 10:48:21 UTC 2023
    - 478 bytes
    - Viewed (0)
Back to top