Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.google.protobuf.DeprecatedFieldTest Class Reference
Inheritance diagram for com.google.protobuf.DeprecatedFieldTest:
Inheritance graph
[legend]

Public Member Functions

void testDeprecatedField () throws Exception
 
void testDeprecatedFieldInOneof () throws Exception
 

Private Member Functions

boolean isDeprecated (AnnotatedElement annotated)
 

Private Attributes

String[] deprecatedBuilderGetterNames
 
String[] deprecatedBuilderSetterNames = {"setDeprecatedInt32"}
 
String[] deprecatedGetterNames = {"hasDeprecatedInt32", "getDeprecatedInt32"}
 

Detailed Description

Test field deprecation

Author
birdo.nosp@m.@goo.nosp@m.gle.c.nosp@m.om (Roberto Scaramuzzi)

Definition at line 43 of file core/src/test/java/com/google/protobuf/DeprecatedFieldTest.java.

Member Function Documentation

◆ isDeprecated()

boolean com.google.protobuf.DeprecatedFieldTest.isDeprecated ( AnnotatedElement  annotated)
inlineprivate

◆ testDeprecatedField()

void com.google.protobuf.DeprecatedFieldTest.testDeprecatedField ( ) throws Exception
inline

◆ testDeprecatedFieldInOneof()

void com.google.protobuf.DeprecatedFieldTest.testDeprecatedFieldInOneof ( ) throws Exception
inline

Member Data Documentation

◆ deprecatedBuilderGetterNames

String [] com.google.protobuf.DeprecatedFieldTest.deprecatedBuilderGetterNames
private
Initial value:
= {
"hasDeprecatedInt32", "getDeprecatedInt32", "clearDeprecatedInt32"
}

Definition at line 46 of file core/src/test/java/com/google/protobuf/DeprecatedFieldTest.java.

◆ deprecatedBuilderSetterNames

String [] com.google.protobuf.DeprecatedFieldTest.deprecatedBuilderSetterNames = {"setDeprecatedInt32"}
private

◆ deprecatedGetterNames

String [] com.google.protobuf.DeprecatedFieldTest.deprecatedGetterNames = {"hasDeprecatedInt32", "getDeprecatedInt32"}
private

The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:07