joj-reflect

Annotations for Java (8) on Jetpacks

License

License

GroupId

GroupId

io.joj
ArtifactId

ArtifactId

joj-reflect
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

joj-reflect
Annotations for Java (8) on Jetpacks
Project URL

Project URL

http://joj.io/
Source Code Management

Source Code Management

https://github.com/joj-io/joj-reflect

Download joj-reflect

How to add to project

<!-- https://jarcasting.com/artifacts/io.joj/joj-reflect/ -->
<dependency>
    <groupId>io.joj</groupId>
    <artifactId>joj-reflect</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.joj/joj-reflect/
implementation 'io.joj:joj-reflect:1.1.1'
// https://jarcasting.com/artifacts/io.joj/joj-reflect/
implementation ("io.joj:joj-reflect:1.1.1")
'io.joj:joj-reflect:jar:1.1.1'
<dependency org="io.joj" name="joj-reflect" rev="1.1.1">
  <artifact name="joj-reflect" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.joj', module='joj-reflect', version='1.1.1')
)
libraryDependencies += "io.joj" % "joj-reflect" % "1.1.1"
[io.joj/joj-reflect "1.1.1"]

Dependencies

compile (2)

Group / Artifact Type Version
io.joj : joj-fluence jar 1.0.1
org.pcollections : pcollections jar 2.1.2

test (3)

Group / Artifact Type Version
com.google.guava : guava jar 19.0
org.testng : testng jar 6.9.10
org.assertj : assertj-core jar 3.5.2

Project Modules

There are no modules declared in this project.

joj-annotation

AnnotationBuilder: Type-safe annotation builder (synthesizer) for Java 8

Example

import javax.validation.constraints.Pattern;

 Pattern generated = AnnotationBuilder.builderFor(Pattern.class)
   .with(Pattern::regexp).returning("^a+.*end$")
   .with(Pattern::message).returning("Value should look funny, begin with 'a' and end with 'end'.")
   .build();

Installation

<dependency>
  <groupId>io.joj</groupId>
  <artifactId>joj-reflect</artifactId>
  <version>1.1.0</version>
</dependency>

Versions

Version
1.1.1
1.1.0
1.0.1
1.0.0