代码搜索:Annotation
找到约 6,069 项符合「Annotation」的源代码
代码结果 6,069
www.eeworm.com/read/332978/7141705
java simulatingnull.java
//: annotations/SimulatingNull.java
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SimulatingNull {
public int id() default -
www.eeworm.com/read/332978/7141712
java multiplier.java
//: annotations/Multiplier.java
// APT-based annotation processing.
package annotations;
@ExtractInterface("IMultiplier")
public class Multiplier {
public int multiply(int x, int y) {
in
www.eeworm.com/read/332978/7142022
java test.java
//: net/mindview/atunit/Test.java
// The @Test tag.
package net.mindview.atunit;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interfac
www.eeworm.com/read/332978/7142024
java testobjectcreate.java
//: net/mindview/atunit/TestObjectCreate.java
// The @Unit @TestObjectCreate tag.
package net.mindview.atunit;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPol
www.eeworm.com/read/332978/7142025
java testobjectcleanup.java
//: net/mindview/atunit/TestObjectCleanup.java
// The @Unit @TestObjectCleanup tag.
package net.mindview.atunit;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionP
www.eeworm.com/read/332978/7142028
java testproperty.java
//: net/mindview/atunit/TestProperty.java
// The @Unit @TestProperty tag.
package net.mindview.atunit;
import java.lang.annotation.*;
// Both fields and methods may be tagged as properties:
@Ta
www.eeworm.com/read/463449/7180752
java name.java
/*
* Name.java
*
* Created on 2007年9月19日, 下午11:25
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package newAnnotation;
impo
www.eeworm.com/read/463449/7180759
java horse.java
/*
* Horse.java
*
* Created on 2007年9月12日, 下午11:35
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package testAnnotation;
im