[
https://issues.apache.org/jira/browse/LANG-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304923#comment-17304923
]
Alex Herbert commented on LANG-1649:
------------------------------------
This method has been proposed for ClassUtils. That class encapsulates
functionality to get the name of a class, check if it is assignable at runtime
to another type, and interrogate its structure (primitive wrapper, inner class,
class hierarchy).
The use case for checking a method is overridable at runtime is unclear. There
are no other such interrogation methods in ClassUtils or MethodUtils. It does
not fit in the ClassUtils scope or even MethodUtils as neither have any ability
to dynamically create a subclass at runtime and override the method even if it
is known to be overridable.
Can you provide a use case for this? It may be applicable to commons-bcel if
re-engineering a class is the objective.
> Check if method is Overridable
> ------------------------------
>
> Key: LANG-1649
> URL: https://issues.apache.org/jira/browse/LANG-1649
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 3.12.0
> Reporter: Arturo Bernal
> Priority: Minor
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> Create a method that Check if the given Method is overridable in the given a
> Class
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)