commit | 93fb9c5bbc799c1e565ff9675643430ee5fa2b34 | [log] [tgz] |
---|---|---|
author | bcorso <bcorso@google.com> | Thu Jul 11 11:39:39 2019 -0700 |
committer | David P. Baker <dpb@google.com> | Mon Aug 19 12:23:56 2019 -0400 |
tree | 3e475e632292ed5537e5d17ae5e4290c227f5c7a | |
parent | e1beeff27a63825fd90e8c800483c346dac4a4df [diff] |
Fix PeerBaseMethod to not rely on implicit ordering of Elements.getAllMethods. This CL adds a new method, MoreElements#getAllMethods(), which returns all local and inherited methods (including static methods), but does not include any methods that have been overridden. Note: we are still relying on an explicit ordering for static methods to ensure we don't include hidden static methods from super classes. RELNOTES=Adds MoreElements#getAllMethods(), which returns all local and inherited methods (including static methods), but does not include any methods that have been overridden. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=257649768
A collection of source code generators for Java.
Java is full of code that is mechanical, repetitive, typically untested and sometimes the source of subtle bugs. Sounds like a job for robots!
The Auto subprojects are a collection of code generators that automate those types of tasks. They create the code you would have written, but without the bugs.
Save time. Save code. Save sanity.
AutoFactory - JSR-330-compatible factories
AutoService - Provider-configuration files for ServiceLoader
AutoValue - Immutable value-type code generation for Java 1.6+.
Common - Helper utilities for writing annotation processors.
Copyright 2013 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.