multithreading - Java Reflection and thread-safety -


i've got methods reflect class, e.g.:

type.getmethods() method.getannotation(annotationclass) method.getparametertypes() method.getparameterannotations()[paramindex]; method.getparametertypes()[paramindex]; 

the application multi-threaded. safe call these methods without locking in place?

it safe because don't change anything.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -