Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dont suport enum and class in annotation #184

Open
nicolaichuk opened this issue Oct 12, 2017 · 0 comments
Open

Dont suport enum and class in annotation #184

nicolaichuk opened this issue Oct 12, 2017 · 0 comments

Comments

@nicolaichuk
Copy link
Contributor


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface SomeAnnotation {

    enum ProcessingType {
        ASYNC,
        SYNC,
    }


    final class SomeClass {
    }


    Class<?> value() default SomeClass.class;

    SomeEnum processingType() default SomeEnum.ASYNC;

}

when call processingType()
throw ClassNotFind ProcessingType

and SomeClass don't also support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant