[ 
https://issues.apache.org/jira/browse/LANG-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306196#comment-17306196
 ] 

Alex Herbert commented on LANG-1649:
------------------------------------

Typical paths for inclusion of a method in Commons are (1) you have written it 
yourself, used it in many applications and think it would be applicable for 
others too; or (2) you are porting a method available in other languages that 
you have used in many applications.

If you are doing something repeatedly, across many application then there 
should be a place for it in one of the Commons libraries.

If you are working with reflection one typical case is to perform runtime 
execution of logic that cannot be determined at compile time. For example 
construction of classes specified in configuration files, execution of methods 
with known signatures on classes provided at runtime, etc. I cannot think of a 
reason that I would want to know a method is overridable. Without a concrete 
example of how a program's logic relies on knowing this information the 
suggested method is merely an example of using the reflection API, not 
something that is generically applicable to code that performs dynamic 
application logic.

> 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)

Reply via email to