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 testDeprecatedField () throws Exception
 
void testDeprecatedFieldInOneof () throws Exception
 
void testDeprecatedFieldInOneof () throws Exception
 

Private Member Functions

boolean isDeprecated (AnnotatedElement annotated)
 
boolean isDeprecated (AnnotatedElement annotated)
 

Private Attributes

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

Detailed Description

Test field deprecation

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

Test field deprecation.

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

Member Function Documentation

◆ isDeprecated() [1/2]

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

◆ isDeprecated() [2/2]

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

◆ testDeprecatedField() [1/2]

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

◆ testDeprecatedField() [2/2]

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

◆ testDeprecatedFieldInOneof() [1/2]

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

◆ testDeprecatedFieldInOneof() [2/2]

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

Member Data Documentation

◆ deprecatedBuilderGetterNames [1/2]

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

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

◆ deprecatedBuilderGetterNames [2/2]

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

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

◆ deprecatedBuilderSetterNames [1/2]

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

◆ deprecatedBuilderSetterNames [2/2]

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

◆ deprecatedGetterNames [1/2]

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

◆ deprecatedGetterNames [2/2]

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:04