![]() 058 * If this call succeeds, then the method can be invoked as normal. 057 * It will attempt to call #setAccessible(boolean)} on this method. 055 * 056 * MethodUtils} contains a workaround for this situation. 054 * However, an IllegalAccessException} is thrown if the method is invoked. 053 * Reflection locates these methods fine and correctly assigns them as public}. 048 * 049 * 050 * Known Limitations 051 * Accessing Public Methods In A Default Access Superclass 052 * There is an issue when invoking public} methods contained in a default access superclass on JREs prior to 1.4. 046 * Differences from the BeanUtils version may be noted, especially where similar functionality 047 * already existed within Lang. 016 */ 017package 3.reflect 018 019import 020import 021import 022import 023import 024import 025import 026import 027import 028import 029import 030import 031import 032import 033import 034import 035import 036 037import 3.ArrayUtils 038import 3.ClassUtils 039import 3.ClassUtils.Interfaces 040import 3.Validate 041 042import static .toList 043 044/** 045 * Utility reflection methods focused on Method}s, originally from Commons BeanUtils. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. You may obtain a copy of the License at 008 * 009 * 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ![]() 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License") you may not use this file except in compliance with 007 * the License. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 001/* 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |