Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def dispatch void infer(Repository repo,
- IJvmDeclaredTypeAcceptor acceptor,
- boolean isPrelinkingPhase) {
- acceptor.accept(repo.toInterface(repo.name, [])) [
- documentation = repo.documentation
- annotations += annotationRef(REPOSITORY);
- superTypes += JPAREPOSITORY.typeRef(repo.type.cloneWithProxies,Long.typeRef);
- ]
- }
- import dsltest.models.Plant
- import dsltest.models.Customer
- package dsltest.repositories {
- repo PlantRepository : Plant {}
- repo CustomerRepository : Customer {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement