Skip to content

Creates a metadata class containing property names of annotated classes as public static fields.

License

Notifications You must be signed in to change notification settings

IRCM/generate-property-names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java CI

Property names annotation processor.

Class produced.

Creates a metadata class containing property names of annotated classes as public static fields.

So, if you have a class like this.

package com.mypackage;

@GeneratePropertyNames
public class MyClass {
  private myProperty;
  private mySecondProperty;
  // Getters / setter.
}

This class will be generated.

package com.mypackage;

public class MyClassProperties {
  public static final String myProperty = "myProperty";
  public static final String mySecondProperty = "mySecondProperty";
}

Supported annotations.

  • ca.qc.ircm.processing.GeneratePropertyNames

About

Creates a metadata class containing property names of annotated classes as public static fields.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages