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

add methods that verify types #60

Open
renanreismartins opened this issue Sep 3, 2012 · 0 comments
Open

add methods that verify types #60

renanreismartins opened this issue Sep 3, 2012 · 0 comments

Comments

@renanreismartins
Copy link

Add a method that verifies if a Object is a collection.
Add a method that verifies if a Object is a primitive.
And a method that verifies the type of object.

Something like the methods isCollection(Type type), getActualType(Type genericType)
found here: https://github.com/caelum/vraptor/blob/master/vraptor-core/src/main/java/br/com/caelum/vraptor/serialization/xstream/Serializee.java

and isPrimitive(Class<?> type)
found here: https://github.com/caelum/vraptor/blob/master/vraptor-core/src/main/java/br/com/caelum/vraptor/serialization/xstream/VRaptorClassMapper.java

What do you think about this?

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