Skip to content

CUSTIS-public/beanpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beanpath

Staticly checked Java Bean property paths to be used instead of string literals.

Eg:

Account account = root(Account.class);
BeanPath<String> customerNameProp = $( account.getCustomer().getName() );
// then customerNameProp.toDotDelimitedString() => "customer.name"

The core idea is to use runtime proxies to capture method (as in mock frameworks).

See more examples and some explanation in BeanPathMagicTest.

More info on Habrahabr [ru]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages